{"id":18277061,"url":"https://github.com/kelvinleandro/shellstation","last_synced_at":"2025-04-09T04:30:22.085Z","repository":{"id":243232385,"uuid":"794345284","full_name":"kelvinleandro/shellstation","owner":"kelvinleandro","description":"A 2-player CLI \"videogame\" built with Python using sockets for real-time multiplayer gameplay.","archived":false,"fork":false,"pushed_at":"2024-08-20T00:22:28.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T22:45:58.534Z","etag":null,"topics":["2-player","2-players-game","checkers","chess","chess-game","cli","connect-four","connect4","draughts","python","python-3","python3","socket","socket-programming","sockets","tic-tac-toe","tic-tac-toe-multiplayer","tic-tac-toe-python","tictactoe"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kelvinleandro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-05-01T00:11:34.000Z","updated_at":"2024-08-21T14:25:47.000Z","dependencies_parsed_at":"2024-07-27T14:45:29.622Z","dependency_job_id":"9b9d8e7e-0b0c-4b9b-8c95-5ffd81294124","html_url":"https://github.com/kelvinleandro/shellstation","commit_stats":null,"previous_names":["kelvinleandro/shellstation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fshellstation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fshellstation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fshellstation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fshellstation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelvinleandro","download_url":"https://codeload.github.com/kelvinleandro/shellstation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980775,"owners_count":21027801,"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":["2-player","2-players-game","checkers","chess","chess-game","cli","connect-four","connect4","draughts","python","python-3","python3","socket","socket-programming","sockets","tic-tac-toe","tic-tac-toe-multiplayer","tic-tac-toe-python","tictactoe"],"created_at":"2024-11-05T12:18:02.068Z","updated_at":"2025-04-09T04:30:22.054Z","avatar_url":"https://github.com/kelvinleandro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShellStation\n\nShellStation is a command-line game suite. It allows users to select and play games through an interactive menu, directly via command-line arguments, or run automated tests/matches for each game.\n\n## Previews\n![shellstation menu](img/menu.png)\n\n![chess](img/chess.png) ![draughts](img/draughts.png) ![tictactoe](img/tictactoe.png) ![connect four](img/connect4.png) ![hangman](img/hangman.png) ![battleship](img/battleship.png)\n\n## Features\n\n- **Interactive Game Selection**: Users can choose which game to play through a simple command-line menu.\n- **Direct Game Launch**: Users have the option to directly start a game using command-line arguments.\n- **Automated Tests**: Users can run automated matches for each game using command-line arguments.\n- **Extensible**: Adding new games is as straightforward as updating the `ShellStation` class and adding the game files.\n\n## Prerequisites\n\nBefore running ShellStation, ensure you have Python installed on your system. The games are built with Python 3.11.\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/kelvinleandro/shellstation\n    ```\n\n2. Change to the project directory:\n    ```bash\n    cd shellstation\n    ```\n\n3. Install the required libraries:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nTo start ShellStation in interactive mode:\n\n```bash\npython shellstation.py\n```\n\nTo directly start a specific game:\n\n```bash\npython shellstation.py -g chess\n```\n\nThe game will ask you to specify a host and port. For example, you can enter:\n\n```bash\nlocalhost 9999\n```\n\nTo run automated tests for a specific game:\n\n```bash\npython shellstation.py -t chess\n```\n\n### Available commands\n\n- `-g`, `--game`: Start with the specified game. Options: battleship, chess, connect4, draughts, hangman, tictactoe.\n- `-t`, `--test`: Run the specified test. Options: battleship, chess, connect4, draughts, hangman, tictactoe.\n\n## Tests\n\n`test` folder contains simulated matches for each game using `pyautogui`.\n\nTo run the automated matches:\n\n```bash\npython shellstation.py -t GAME_OPTION\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvinleandro%2Fshellstation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelvinleandro%2Fshellstation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvinleandro%2Fshellstation/lists"}