- Clone the repository
- Install Visual Studio Code V16.10.
- write
node "Battledev Cards/battledev2(2020).js"
on the terminal
- Or change the datas in "table=" then write the command on the terminal
While walking in Las Vegas, you come across a stand with a simple game: the dealer mixes the card game (limited to cards from 1 to 9) and draws one. Before the draw, if you announced the right number, you win eight times your bet, otherwise you lose your money. You know that the potential gains on this type of game are very low but your friend is not of the same opinion. He's going for it! Even if you watch him play, you advise him to play the numbers that often fall consecutively (there is no real explanation for this method, but hey, it's at least a strategy). So you look at past draws that are displayed on a screen above the table.
10 5 3 3 4 9 9 9 9 9 6
5