Since some questions about designing custom cards in the Card Kit extension came up, I ended up putting together the design of a standard UNO deck as an example. Since I’ve already put together half the work writing the post, I decided to do the other half of the work and program in the rules. Here is the full game with four players, one human and three AI:
That’s amazing! I love this.
Nice! I think you could make it multiplayer by using the radio extension for the devices.
Thanks for finishing what I started /j
oh yeah there another post for this In the card game extension
This is SUPER fun!! And a great demonstation of your extension, you should add this to the Github page. Even against three AIs I lost
And attempted to ‘team up’ with the player across me against the other two (Which surprisingly didn’t work)
The AI that was put into the same was absolutely minimal, mainly because you are essentially playing 1 against 3 and the odds are already against you, and as a demo smart AI is not the focus anyway. If you read the function for how the AI pick cards and wild colors, the only rules are that it’d play the first playable card from hand (literally scrolling through all the cards it can’t play) and it’ll always pick the first color that is in hand for wild, which means you can tell the minimum of cards that doesn’t color match for each AI’s hand, and it’ll never try to wild pick a color it doesn’t have to psych other players out. Even with those knowledge, I think my win rate is roughly 30%? UNO is ultimately not that strategic of a game, but it is actually fun to play despite how simple it is.
