Dice Game is a python terminal game, which runs in the code institute mock terminal on Heroku. The rules of this game:
You will need a one dice to play. The game is a very simple dice game in which two players race to reach 100 points. Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player holds and scores the sum of the rolls (i.e. the turn total). At any time during a player's turn, the player is faced with two decisions:
• roll == “y” - If the player rolls a:
o 1: the player scores nothing and it becomes the opponent's turn.
o 2 - 6: the number is added to the player's turn total and the player's turn continues.
• roll == “n” - The turn total is added to the player's score and it becomes the opponent's turn.
You are playing against the computer.
You can read more about it on Wikipedia (https://en.wikipedia.org/wiki/Pig_(dice_game))
Here is the live version of my uncompleted project: https://dice-playing.herokuapp.com/
Unfortunately, the features of this game is not showing on the app as the project is not complete yet.
There are few bugs found as the project is not complete yet
I have tested the code manually through PEP8 linear and confirmed there are 3 problems (2 blank lines and 1 indented block
This project was deployed using Code Institute's mock terminal for Heroku
- Fork or clone this repository
- Create a new Heroku app
- Set the build backs to Python or NodeJS in that order
- Link the Heroku app to the repository
- Click on deploy
- Code Institute for the deployment terminal
- Lecture 11 on Object Oriented Programming in Python (Dice Pig Game) : http://www.cs.columbia.edu/~cannon/1006/lecture11.html