This repository contains a GUI application developed in C# WinForms for a simple war-themed game. The game features various functionalities including the appearance of a large ship with significant life points (5% chance of appearance) and three types of enemies with different movement speeds.
The InitializeGame method initiates threads for enemy generation and speed incrementation over time.
The GenerateEnemies method utilizes an event, waiting for 15 seconds for the user to press the left or right arrow keys. Subsequently, a separate thread is created for each enemy.
When a collision occurs, the enemy's life points are decremented, and if it reaches zero, the enemy is removed.
A semaphore is employed in the FireBullet method to limit the number of bullets, and it is released upon bullet deletion.
The game concludes when the player reaches a certain number of misses.












