1.0.0 • Published 1 year ago
shoot-dice v1.0.0
Game of Dice
This game is a random throwing of dice with numbers from 1 to 6. The module consists of one function:
diceGame()
The module consists of one function. You can pass two player names to the function. By default, player1 is guest_player, player2 is bot.
diceGame('Matthew', 'Kate')
There are three event outcomes in the game: player1 wins, player2 wins, or draws.
1.0.0
1 year ago