You are to make a dice game with the following rules:
Javascript
Player vs Computer format.
- A game must consist of a user defined multiple (max 10) rounds of play.
- The result of each round must be presented on the HSA console and game play must pause. - The player and computer points awarded as follows 2 points are given to the winning player, 0 points to the losing player and 1 point to each for a tie.
-A player must be able to end the game they are playing.
- When a game ends the game stats of each player should be shown and the winner of the game should be declared.
- All input and output must use the HSA Console.
A player must be able to start a new game after finishing a game.
- The results of each round and the final game result is written to an Output.txt file.
- The details of each round of play are stored in an array.
Learning goals
Write computer programs that properly incorporate input, processing and output
Write computer programs that properly incorporate selection and repetition structures
Write computer programs that properly incorporate the retrieving and storing of information in files
Note: I don’t need a perfect program, something decent would do.
You are to make a dice game with the following rules: Javascript Player vs Computer format. - A game must consist of a u
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am