ShellStation 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.
- Interactive Game Selection: Users can choose which game to play through a simple command-line menu.
- Direct Game Launch: Users have the option to directly start a game using command-line arguments.
- Automated Tests: Users can run automated matches for each game using command-line arguments.
- Extensible: Adding new games is as straightforward as updating the
ShellStationclass and adding the game files.
Before running ShellStation, ensure you have Python installed on your system. The games are built with Python 3.11.
-
Clone the repository:
git clone https://github.com/kelvinleandro/shellstation
-
Change to the project directory:
cd shellstation -
Install the required libraries:
pip install -r requirements.txt
To start ShellStation in interactive mode:
python shellstation.pyTo directly start a specific game:
python shellstation.py -g chessThe game will ask you to specify a host and port. For example, you can enter:
localhost 9999To run automated tests for a specific game:
python shellstation.py -t chess-g,--game: Start with the specified game. Options: battleship, chess, connect4, draughts, hangman, tictactoe.-t,--test: Run the specified test. Options: battleship, chess, connect4, draughts, hangman, tictactoe.
test folder contains simulated matches for each game using pyautogui.
To run the automated matches:
python shellstation.py -t GAME_OPTIONThis project is licensed under the MIT License - see the LICENSE file for details.






