This game runs on Node server (localhost:3000). This game uses MySql to store game scores, you have to edit the db name, username password in the app.js
- Download the project
- cd the game's path on cmd
npm install
to install all dependencies- Open "app.js" and edit the varibles called
username password dbname server
`User name,password,server, database name of mysql node app
to turn on the server- Search "localhost:3000" in a browser to run the game
+----------+-------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+-------------+------+-----+---------+-------+ | name | varchar(20) | YES | | NULL | | | password | varchar(20) | YES | | NULL | | | score | int | YES | | NULL | | +----------+-------------+------+-----+---------+-------+press "c" to start the game Press "spacebar" or "mouse left click" to jump Press "x" to use "invisible ability" while the big block tries to hit you press "s" to activate super power(available if you have 20 points from last super power used and lasts for 5 seconds) If you have super power available the player color changes to rose press "p" to pause game