Skip to content

umut-er/pool-for-physicists-only

Repository files navigation

Pool for Physicists Only

Introduction

Welcome to our project! Pool for Pyhsicists Only is a realistic desktop game of billards. It utilizes database technology to sign up and login to keep track of users progress and past victories.

How to Play the Game

The game follows the standard 9 ball pool rules. You can create and delete accounts in order to track your progress in the game. Your account's level increases as you win more games. Players' turns are marked by a red dot next to their names. There are a few components in the game which can be used to alter your shot.

Sign Up/Login

When you first enter the game, you are greeted with a menu in which you have the option to login, sign-up, delete your account or change your password.
MainMenu

Signing Up/Deleting Account

While signing up, you need to pick an username and a password and an answer to a back-up security question in order to create an account. You can also delete a previous account from the same screen if you wish to start over from a new account. SignUp

Changing Password

If you forget your password, you can change it by entering in your username and security question's answer. PasswordChange

Logging in

Once you have an account, you can enter into the game from the login screen and start playing. Login

Game Components

There are various components in the game you can use to create your shot.

Cue Stick

You can change the position you of the cue stick by moving your mouse controller.
Once you've picked a position, you can stop cue stick's movement with the 'w' key or restart it with the 's' key. CueStick

Power Bar

You can change your shot's power through the power bar which effects your cue ball's initial speed. PowerBar

Ball Position

You can choose which part of the ball you want to hit through the cue ball image component.
The part that you choose gets marked by a red square and it results in different types of spin. BallPosition

Elevation Bar

The degree at which you hit the cue ball can be changed between 0 and 45 degrees through the elevation bar.
Different angles can create different types of spins on the cue ball. ElevationBar

Hit Button

Once you're ready to make your shot, you can click the hit button to make your shot. HitButton

Pause and Resume Buttons

If you wanna take a break from the game, you can pause the game and continue playing at a different time. PauseResume

Dependencies Libraries and Other Sources

  • firebase4j-master
  • hamcrest-core-1.3
  • json-20230227
  • junit-4.13.2
  • Evan Kiefl's pooltool accessible here

About

A realistic implementation of pool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages