Log In  
Follow
misc
[ :: Read More :: ]

Cart #poker_square-0 | 2022-09-29 | Code ▽ | Embed ▽ | No License
5


Poker Squares Solitaire coded in 1kB (in 2 days) for PICO-1K Jam 2022.

This is the first time I've tried something like this.

Let me know if you find any bugs.

Rules

  • 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:
View list on itch.io or rules from Wikipedia.

Poker Hand Points Example
Royal flush 100 A♦ K♦ Q♦ J♦ 10♦
Straight flush 75 Q♥ J♥ 10♥ 9♥ 8♥
Four of a kind 50 9♣ 9♠ 9♦ 9♥ J♥
Full House 25 3♣ 3♠ 3♦ 6♣ 6♥
Flush 20 J♥ 8♥ 4♥ 3♥ 2♥
Straight 15 7♣ 6♠ 5♠ 4♥ 3♥
Three of a kind 10 2♦ 2♠ 2♣ K♠ 6♥
Two pairs 5 J♥ J♣ 4♣ 4♠ 9♥
One pair 2 4♥ 4♠ K♠ 10♦ 5♠

Controls

  • Arrow Keys to move.

  • X/❎ to place a card.

  • Z/🅾️ to reshuffle.
P#118157 2022-09-29 14:34