Skip to content

Public git repository for the game hackathon organised by DevCom-IITB

Notifications You must be signed in to change notification settings

DheGit/devcom-game-hackathon

Repository files navigation

8-Ball Pool

Team: dev-ils
Made By:

  • Dheer Banker
  • Tanmay Patil

Salient Features:

  • NO third-party libraries used (completely Vanilla JS)

  • Realistic playing experience

  • Highly re-usable code, ensuring the Separation of Concerns

  • Adapts to all screen sizes automatically.

Controls:

  • Move mouse to aim.

  • W : Increase Hit power.

  • S : Decrease Hit power.

  • Enter : Hit cue ball.

  • Left click : Fix the position of cue ball.

Rules:

  • The game starts with Solid's turn.

  • If the cue ball is potted, it is a foul. Theother player is allowed to position the cue ball on the next move.

  • If a player(say stripes), pots the 8 ball before potting the other balls(stripes), the other player( solids) wins.

  • If no balls are potted during a player's turn, their turn ends.

  • If a player pots more of his/her own balls than the opponent's during his/her turn, then the player gets another chance. Otherwise, their turn ends.

  • Play the Game !

About

Public git repository for the game hackathon organised by DevCom-IITB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published