This is a tank game developed using SFML and C++17. The game involves moving a tank around a window.
- Smooth tank movement with WASD controls
- Shooting with the space bar
- Enemy tanks that move and shoot
- Obstacles that block the tank's path
- Score tracking
Clone this repository using git clone https://github.com/geugenm/8bitTanks.git
Install SFML and C++17 if they are not already installed
Build the game using CMake:
mkdir build
cd build
cmake ..
make
cd ..
./build/game
- Navigate to the directory where the game was built
- Run the game executable
- Use WASD to move the tank and space to shoot
- Avoid obstacles and shoot enemy tanks to score points
Contributions to this project are welcome. To contribute:
- Fork this repository
- Create a new branch for your changes
- Make your changes and commit them with a descriptive message
- Push your changes to your forked repository
- Submit a pull request to this repository
This game was developed by geugenm