Skip to content

Valerijs-Korzins/2D-Classic-Pool-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic-Pool-Game


Same functionality with better and more readable code.


Hello everyone!

The presented code is my first shot at building a javascript game.
It is a classic 8-ball pool game. You can choose to play against a friend, or against an AI, with various difficulty levels.

Have fun, and good luck!

Keys:

* 'W' : Increase shot power.
* 'S' : Decrease shot power.
* 'Esc' : Return to main menu.

Mouse:

* Left click : shoot.
* Aim by moving the mouse.