Skip to content

A practice project for reinforce all the skills that we have learned with "Jonas Schmedtmann"

Notifications You must be signed in to change notification settings

Samiraarepo/Pig-Game

Repository files navigation

Pig Game

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.


Online Demo :

https://aaramiss.github.io/Pig-Game/

How to Play

  1. The game has two players, Player 1 and Player 2.

  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.

  3. If a player rolls a 1, they lose all their current score, and it's the next player's turn.

  4. The first player to reach the target score (default: 100) wins the game.

Technologies Used

The Pig Game was developed using the following technologies:

  • HTML5
  • CSS3
  • JavaScript (ES6)

Usage

  1. Clone the repository or download the ZIP file.

  2. Open the project in your preferred code editor.

  3. Launch the index.html file in your browser to start playing the Pig Game.

  4. Follow the on-screen instructions and have fun playing with a friend!

Credits

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.

License

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.

Feedback

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!

About

A practice project for reinforce all the skills that we have learned with "Jonas Schmedtmann"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published