Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sadegh15khedry/tank-game

a simple tank game using C.
https://github.com/sadegh15khedry/tank-game

c console-application

Last synced: 3 days ago
JSON representation

a simple tank game using C.

Awesome Lists containing this project

README

        

# Tank Game

## Overview

Tank Game is a classic tank battle game implemented in C. It provides players with an immersive gaming experience where they can control tanks, navigate through obstacles, and engage in battles with other tanks. This project was my first attempt at game development and programming, so the code might not be as clean or organized as professional projects.

## Table of Contents

- [Features](#features)
- [Screenshots](#screenshots)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [Prerequisites](#prerequisites)
- [Clone the Repository](#clone-the-repository)
- [Build and Run](#build-and-run)
- [How to Play](#how-to-play)
- [Known Issues](#known-issues)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## Features

- **Tank Control**: Players can control tanks using keyboard controls to move and rotate in different directions.
- **Combat Mechanics**: Tanks can shoot projectiles to destroy obstacles and enemy tanks, implementing basic combat mechanics.

## Technologies Used

- C

## Installation

### Prerequisites

- GCC (GNU Compiler Collection)

### Clone the Repository

1. **Clone the repository:**
```
git clone https://github.com/sadegh15khedry/tankGame.git
cd tankGame
```

### Build and Run

2. **Build and run the application:**
- Compile the C source files using GCC.
```
gcc -o tankGame *.c
```
- Run the executable:
```
./tankGame
```

## How to Play

1. **Controls**: Use the arrow keys to move the tank and the spacebar to shoot projectiles.
2. **Objective**: Navigate through the game environment, destroy enemy tanks, and avoid obstacles to survive and win battles.

## Known Issues

- This project was my first programming and game development attempt, so the code may not be clean or well-organized.
- There may be bugs and performance issues that need to be addressed.
- The game lacks advanced features and optimizations found in more polished projects.

## Contributing

Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature/YourFeature`).
3. Commit your changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature/YourFeature`).
5. Create a new Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contact

For questions or inquiries, please feel free to open an issue on the GitHub repository.