Giter VIP home page Giter VIP logo

bilalrajput09 / pig-game-js Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 485 KB

Pig Game is an exciting JavaScript-based two-player game that adds a thrilling twist to the classic dice-rolling experience. In this game, two players take turns rolling a virtual dice, each hoping to avoid the dreaded "1." The objective is simple: be the last player standing! The game starts with Player 1 rolling the dice,

License: MIT License

HTML 18.28% JavaScript 40.95% CSS 40.77%
css3 dom-manipulation html5 javascript

pig-game-js's Introduction

Pig Game

Table of Contents

[Pig Game]

[Pig Game] Pig Game is an exciting JavaScript-based two-player game that adds a thrilling twist to the classic dice-rolling experience. In this game, two players take turns rolling a virtual dice, each hoping to avoid the dreaded "1."

The objective is simple: be the last player standing! The game starts with Player 1 rolling the dice, and their goal is to avoid rolling a 1. If they succeed, they can accumulate points by rolling higher numbers. However, if a 1 appears, the dice passes to Player 2.

Player 2 then takes their turn, trying to roll anything but a 1. The game continues with players taking turns, hoping to outlast their opponent. It's a game of chance, strategy, and nerves of steel.

Pig Game is perfect for a quick and fun gaming session with a friend or family member. Are you up for the challenge? Roll the dice and see who emerges victorious in this thrilling game of dice-rolling strategy!

ERD diagram

Built With

Tech Stack

Javascript
  • https://www.javascript.com/

Key Features

  • [Intuitive User Interface]
  • [Multiplayer Mode]
  • [Randomized Dice Rolls]
  • [Score Tracking]

(back to top)

Getting Started

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

Prerequisites

In order to run this project you need:

  • Open the index.html

Setup

Clone this repository to your desired folder:

  • (https://github.com/bilalrajput09/Pig-Game-JS.git)

Usage

To run the project execute the following command:

  • Open the index.html in browser

(back to top)

Authors

๐Ÿ‘ค Bilal Ahmed

(back to top)

Future Features

  • [Pig Game video version]

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ Show your support

Give a โญ if you like this project

(back to top)

๐Ÿ™ Acknowledgments

I would like to thank...

  • Microverse for all my learnings.

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

This project is MIT licensed.

(back to top)

pig-game-js's People

Contributors

bilalrajput09 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.