Poker Squares (1kB)
About
Poker Squares Solitaire coded in 1016 compressed bytes (1kB) of code (in 2 days) for PICO-1K Jam 2022.
Let me know if you find any bugs.
- Arrow Keys to move.
- X/❎ to place a card.
- Z/🅾️ to reshuffle.
(rules from Wikipedia)
- Cards are placed one at a time and can no longer be moved once placed.
- Points are scored on poker hands of 5 cards formed in rows or columns. (order does not matter)
- The goal is to get a score equal/higher than 100 or a high score.
List of points and poker hands:
Poker HandPointsExampleRoyal flush
100A♦ K♦ Q♦ J♦ 10♦
Straight flush
75Q♥ J♥ 10♥ 9♥ 8♥ Four of a kind
509♣ 9♠ 9♦ 9♥ J♥Full house
253♣ 3♠ 3♦ 6♣ 6♥Flush
20J♥ 8♥ 4♥ 3♥ 2♥Straight157♣ 6♠ 5♠ 4♥ 3♥Three of a kind
102♦ 2♠ 2♣ K♠ 6♥Two pairs
5J♥ J♣ 4♣ 4♠ 9♥One pair
24♥ 4♠ K♠ 10♦ 5♠