Welcome to the Pig Game project! This game was developed as part of "Jonas Schmedtmann"'s JavaScript course on Udemy. It's a fun and addictive two-player dice game where the goal is to reach the target score before your opponent.
https://aaramiss.github.io/Pig-Game/
-
The game has two players, Player 1 and Player 2.
-
Each turn, a player rolls a six-sided dice and accumulates the roll score. They can keep rolling to add to their current score or choose to hold and save their points.
-
If a player rolls a 1, they lose all their current score, and it's the next player's turn.
-
The first player to reach the target score (default: 100) wins the game.
The Pig Game was developed using the following technologies:
- HTML5
- CSS3
- JavaScript (ES6)
-
Clone the repository or download the ZIP file.
-
Open the project in your preferred code editor.
-
Launch the index.html file in your browser to start playing the Pig Game.
-
Follow the on-screen instructions and have fun playing with a friend!
The Pig Game was developed as part of Jonas Schmedtmann's JavaScript course on Udemy, and the initial code and design were provided as part of the course material.
The Pig Game project is available under the MIT License. You are free to use, modify, and share this project for personal and educational purposes.
Enjoy playing the Pig Game! If you have any feedback, suggestions, or questions, feel free to reach out. Your input will help me improve the game and future projects. You can submit any feedback via the GitHub repository.
Happy gaming!