Table of Contents
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.
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.
- 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).
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
You can contact me at - [email protected]