Skip to content

it0na72/pig-game

Repository files navigation

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. Contact

About The Project

piggame

The Pig Game is a two-player dice game where players take turns rolling a dice and accumulate points, but if they roll a 1, they lose their current points and it becomes the next player's turn. The first player to reach a predefined winning score wins the game.

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

  • Clone this repo git clone https://github.com/it0na72/pig-game.git

After cloning this repo you should be able to make changes as needed.

Roadmap

  • Improve media queries on mobile
  • Fix rolling the dice
  • Switch the active player
  • Holding the current score
  • Resetting the game
  • Add animation and possibly a sound when the player gets the correct number
  • Add modal window with the instructions as soon as the page is loaded

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

You can contact me at - andrew@andreoliveira.pro

(back to top)

About

Pig game - First player to get 100 points win!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published