Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

jdifuria/PigsGame

 
 

Repository files navigation

PigsGame

Pigs dice game

This is a command-line implementation of Pig. The rules of the game as explaned on Wikipedia are:s

Each turn, a player repeatedly rolls a die until either a 1 is rolled or the player decides to "hold":

If the player rolls a 1, they score nothing and it becomes the next player's turn. If the player rolls any other number, it is added to their turn total and the player's turn continues. If a player chooses to "hold", their turn total is added to their score, and it becomes the next player's turn. The first player to score 100 or more points wins.

From: https://en.wikipedia.org/wiki/Pig_(dice_game)

This implementation is a single player game against a computer player.

Currently, this version of PigsGame does not work. The code needs to be linked together and properly intertwined. [Update Sep15.2015]

About

Pigs dice game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 95.0%
  • Makefile 5.0%