Giter VIP home page Giter VIP logo

dice-game-2's Introduction

Dice Game Pig:

Dice Game is a python terminal game, which runs in the code institute mock terminal on Heroku. The rules of this game:

How to play

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/

image

Features

Unfortunately, the features of this game is not showing on the app as the project is not complete yet.

Testing

Bugs

Remaining bugs

There are few bugs found as the project is not complete yet

Validator Testing

I have tested the code manually through PEP8 linear and confirmed there are 3 problems (2 blank lines and 1 indented block image

Deployment

This project was deployed using Code Institute's mock terminal for Heroku

•Steps for deployment:

  • 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

Credits

dice-game-2's People

Contributors

amal-yusuf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.