- This game of Bataille has only 10 cards going from 1 to 10
- There is two players in the game (card game divided into two decks)
- At each turn, both players can pick a random card from their OWN card deck
- The cards are discarded when played in the game
- The game ends when there is no more card in the game
- The winner is the one who won the most turns
on a piece of paper:
- use English or French to divide the game process into different steps
- Write in more details each steps using Pseudo Code, English or French (but no actual Code)
- Read all the detailed steps again
Time to code ;)
To easy ? Well this time rather than having 10 cards, you have an actual card game (four families of 13 cards)
- Jack is 11
- Queen is 12
- King is 13
NB: What happen when both players play the same card ?
Have fun ;)