Please run the following command to access the final version.
git checkout v3.0
- Before running
game.js
, please build a directorylog
inpublic
- Since we apply sha256 to the password, the account set up before will be invalid.
npm install
# node --version
# v18.16.0
sudo mysql < reset_sql.sql # Update SQL settings
bash dir.sh # mkdir for history
node game.js
Then you can connect to localhost:3000
with your browser.
- If you have some exist table, please drop it with the following command.
DROP table $i;
used picture sources: https://www.myfreetextures.com/old-cut-wood-tree-background-photo/ https://www.myfreetextures.com/over-30-free-big-beautiful-and-seamless-wood-textures/ https://www.stickpng.com/img/memes/patrick-star/patrick-star-head https://pixabay.com/illustrations/search/squirrel/ https://pixabay.com/illustrations/acorn-autumn-oak-cartoon-fall-7997077/ https://www.clipartmax.com/middle/m2i8G6N4N4Z5A0G6_patrick-star-clipart-patrick-star/ https://pixabay.com/vectors/bubble-speech-talk-words-thinking-157905/