
Comments (3)
Yes, this game didn't go according to plan.
I hurried to release something new for these boring tasks :)
Classic Uno
STORY:
This is a build based on pure knowledge in web programming, so gradually this project will expand depending on changes and work hard to gain new knowledge in the development of something new.
I came up with this idea by accident and I decided to offer it to other people, and in the end they decided to recreate this game on a game engine. but, this initiative made me feel better and I decided to try to solve this problem myself using skills.
I'm not sure if everything works perfectly, but I think it will serve as a good example for other developers in terms of the first steps to creating similar projects.
Deck:

Uno classic uses a special deck of 108 cards divided into 4 colors: blue, yellow, red and green.
How to play the game:

All players start with 7 cards and the player who starts the first round is randomly chosen.
In their turn each player must play a card of the same color, type or number as the card face up on the table.
If a player cannot play any cards, they must draw a card from the deck. In that case, they may play that card or pass the turn.
Tip: If you want, you can draw directly from the deck and keep the cards you have in hand.
Special moves
The cards draw 2 can be chained. So if you play this card, the next player can respond with another draw 2. The following player will draw 4 cards.
The wild card +4 can only be play if you have no other card to play, although you can break this rule and play it whenever you want. ๐
If the next player suspects that this rule has been broken, he can report you.
If you have respected the rule, the other player will automatically draw 6 cards (4 for the wild card and 2 for the penalty).
If you break the rule and get caught, you will be penalized with 4 cards for lying. ๐
Last card and end of round
When you have a card left, you must warn the other players by pressing the button Last one.
If another player presses the button Last one before you, you must draw 2 cards.
Tip: you can press the โLast oneโ button before playing the card.
When a player plays their last card, they win the round and the winning pair scores the points of all the cards that were left in hand.
open source for game developers:
Here is the open source code from this layout, I put it together purely for understanding.
You can find the code you need by following this link to the repository and download it: https://github.com/localhost-four/Classic-Uno