Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 727 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 727 Bytes

This project is a basic game built using SFML (Simple and Fast Multimedia Library). In this game, enemies (represented as blocks) spawn randomly at the top of the window and move downwards. The player gains points by clicking on the enemies before they exit the screen. The player also loses health when enemies pass the bottom of the screen. The game ends when health reaches zero.

Features of it are:
Enemy Spawning: Enemies spawn at random positions at the top and move downwards.
Player Input: Click on enemies to destroy them and gain points.
Health System: Lose health if an enemy reaches the bottom of the screen.
Score Tracking: The current score and health are displayed in the game window.