cli-games icon indicating copy to clipboard operation
cli-games copied to clipboard

Adding games.sh and install-games.sh files and updating README.md

Open Toni500github opened this issue 3 years ago • 1 comments

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

Toni500github avatar Oct 22 '22 21:10 Toni500github

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

Toni500github avatar Oct 22 '22 21:10 Toni500github

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

Toni500github avatar Oct 10 '23 13:10 Toni500github