Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
/ 8-bit-tanks Public archive

Just a simple tank game made with C++ and SFML library

Notifications You must be signed in to change notification settings

geugenm/8-bit-tanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tank Game

This is a tank game developed using SFML and C++17. The game involves moving a tank around a window.

Screenshot_20230325_231931

Features

  • 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

Installation

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

Usage

  • 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

Contributing

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

Credits

This game was developed by geugenm