{"id":18777607,"url":"https://github.com/Seniru/cli-games","last_synced_at":"2025-09-24T22:31:06.483Z","repository":{"id":54801796,"uuid":"173586674","full_name":"salif/cli-games","owner":"salif","description":"Games in the terminal","archived":false,"fork":false,"pushed_at":"2024-07-15T14:16:09.000Z","size":351,"stargazers_count":50,"open_issues_count":3,"forks_count":33,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T17:18:41.421Z","etag":null,"topics":["cli-game","cli-games","console","console-game","console-games","game","games","hacktoberfest","hacktoberfest-accepted","hacktoberfest2024","hangman","maze-escape","maze-game","rock-paper-scissors","snake-game","terminal","terminal-game","terminal-games","tic-tac-toe","tictactoe"],"latest_commit_sha":null,"homepage":"https://salif.github.io/cli-games/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salif.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-03T14:37:30.000Z","updated_at":"2024-12-28T18:00:42.000Z","dependencies_parsed_at":"2023-10-10T20:43:01.653Z","dependency_job_id":null,"html_url":"https://github.com/salif/cli-games","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Fcli-games","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Fcli-games/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Fcli-games/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Fcli-games/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salif","download_url":"https://codeload.github.com/salif/cli-games/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234134475,"owners_count":18784840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-game","cli-games","console","console-game","console-games","game","games","hacktoberfest","hacktoberfest-accepted","hacktoberfest2024","hangman","maze-escape","maze-game","rock-paper-scissors","snake-game","terminal","terminal-game","terminal-games","tic-tac-toe","tictactoe"],"created_at":"2024-11-07T20:12:34.950Z","updated_at":"2025-09-24T22:31:06.478Z","avatar_url":"https://github.com/salif.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI Games\n\n\u003e Games in the terminal\n\n[![Run on Repl.it](https://repl.it/badge/github/salif/cli-games)](https://repl.it/@AllAwesome497/cli-games)\n\nCLI Games is a community-driven collection of games that could be run in your terminal! Currently this project has many games including,\n- Hangman\n- Maze Escape\n- Text Adventures\n- Tic-Tac-Toe\n- Rock, Paper, Scissors\n\n*And more in the future!*\n\n## How to Install?\n\nInstallation is very simple.\n\n```bash\n#Clone the repo\ngit clone https://github.com/salif/cli-games.git\ncd cli-games\n#install the dependences for the games (for Unix systems and Lunix)\nbash install-games.sh\n```\n\n## How to Play?\n\n### for Windows\n\nAfter cloning, run `dir` to get a list of available directories of games. Then navigate to your favourite game using the `cd` command\n\n**Eg:** `cd Hangman`\n\nRead the **README** file in the respective directory to get more instruction about installation and playing.\nMost of the games support different languages (including `node-js` and `python`) and the choice is yours!\n\n### for Unix/Linux\n\njust type\n```bash\nbash games.sh\n```\nand select the game by the number or 'e' for exit. If a game has a JS and Python version, you can choose which one you prefer you to play\n\n**New alternative**\nType \n```bash\n./menu.sh\n```\nand select the game using arrows or type its name to easily selecting it. If a game has a JS and Python version, you can choose which one you want to play\n\n## Contributing\n\nWant to contribute this project? We are happy to accept your contributions! You can do the following to contribute us\n\n- Making / Implementing suggestions and new features\n- Creating / Fixing bug reports\n- Improving the performance\n- [Creating new games](#creating-new-games)\n- Spreading the word!\n\n### Creating new games\n\nBefore creating a new game, please check if it is available already, or somebody is working on creating that game. Then make sure to create a new issue to make sure others are OK with it. If you got approval for your suggestion, then move one! Code your game and create a PR with the new changes. We'll be happy to introduce your new game :smile:\n\n\n🛠️ For Developers\n\nA new script, `menu.sh`, now handles the game menu, so you don’t need to manually edit `games.sh` anymore.\nIf you’re not using `menu.sh`, you’re free to manually add your game to `games.sh`.\n\nCreate a new folder named after your game. Use one of the following structures depending on your language:\n\nPython:\n\n```\nYourGame/\n├── __init__.py         # Main entry point\n└── requirements.txt    # Python dependencies\n````\n\nJavaScript:\n\n```\nYourGame/\n├── index.js            # Main entry point\n├── package.json        # Project metadata and dependencies\n└── package-lock.json   # Exact dependency versions\n````\n\nMake sure __init__.py (Python) or index.js (JavaScript) contains the code that runs your game.\n\n\n**This project is driven on community basis. So we are happy to accept your contributions a lot!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeniru%2Fcli-games","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSeniru%2Fcli-games","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeniru%2Fcli-games/lists"}