cli-games
cli-games copied to clipboard
Adding games.sh and install-games.sh files and updating README.md
i have added these 2 files and updated the README file
the games.sh let you choose what game do you want to play by typing the number, but if the game has the version JS and Python togheter, it will choose the python by default. if you prefer the JS version, it can be modified esaily by modifying
python3 name.py
to
npm run play and for TicTacToe node tictactoe.js
the install-games.sh file let you install the dependeces for the games Hangman, Snake, MazeEscape and TextAdventures. it needs to be run into the folder
i know, probably not the best quality code out there probably
please ignore some of these commits and the package-lock.json file changes, i was just testing the script and npm just updated the lock version to 2
I had almost forgot about this PR, I'm glad that it got merged. i don't remember if it was my first PR ever, but it was when I was learning more about linux and bash scripting. Welcome back salif