https://www.youtube.com/watch?v=cvyTelw1gUgI thought I would give this game a try. I have the deck graphics completed and the deck code. Now I am going to lay out the screen, the players' hand data records and the "turn" code for the AI and human player.
The deck and the foundation will be in the center of the screen and the players' cards spread out above and below the deck/foundation area.
In the demo video I'm using 1400x by 1200y pixels which should be good. I'm going to Xgap the cards by 50 pixels in a player's hand as I did in the demo so a good amount of cards can be laid out left to right. I'll test to see how many and if need be (I doubt it though) I can do an additional row underneath.
All of the cards were created using graphic/font drawing, not a sprite editor, except for the "reverse" card.
The deck is 108 cards, but I only had to create 15 cards. I used a "dummy color" in all but 2 of the cards. The "dummy color" gets replaced by the color of the card as specified by the deck data when it is displayed. That saved me a lot of time and memory. I don't have to deal with the issue of having 108 cards of 122x84 of RGBA values. Each card was rendered, then read as a sprite from the screen and then exported to a text file to be imported by a unit as a constant. The cards are 122y by 84x.
Not having played Uno in years, I had to find a spot online to play against AI.
https://www.unorules.org/uno-online/