Bugs Game is a simulation game where players can interact with different types of bugs that move around a board. The game has a text-based interface that allows players to perform various actions such as displaying all the bugs on the board, finding a bug by ID, tapping the bug board to make all bugs move, displaying the life history of all bugs, and displaying all cells and their bugs. The game also has a graphics interface that allows players to see the bugs move around the board and interact with them using the mouse and arrow keys.
To install the game, you need to clone the repository to your local machine. You can do this by running the following command in your terminal:
git clone https://github.com/<your-username>/bugs-game.git
When you run the game, you will see a text-based menu that allows you to perform various actions. Simply enter the number of the action you want to perform, and the game will execute that action. Here's a brief description of each action:
- Display all the bugs on the board
- Find a bug by ID
- Tap the bug board
- Display the life history of all the bugs
- Exit
- Display all cells
- Run simulation without graphics
- Play board GUI
- If you choose option 8, the game will launch the graphics interface.
In the graphics interface, you can left-click on the board to make all the bugs move, and right-click on a bug to view its details. You can also move the super bug using the arrow keys.
Contributions to the Bugs Game are always welcome! If you want to contribute, you can fork the repository and submit a pull request with your changes.