Skip to content

arushihsura/Insect-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catch The Insect is an engaging web-based game where players select their favorite insect and try to catch as many of them as possible within a given time. The game challenges players to react quickly and accurately, as insects randomly appear on the screen. The goal is to achieve the highest score possible before time runs out.

Features:

Insect Selection: Players can choose from four different insects (Fly, Roach, Spider, Mosquito). Random Insect Spawning: Insects appear at random positions on the screen. Score Tracking: Players earn points for each insect caught. Timer: A countdown timer tracks the duration of the game. Game Over Message: When the score exceeds 19, a message appears to indicate that the game is challenging.

Technologies Used:

HTML: For structuring the game layout and content. CSS: For styling the game interface, including animations and responsive design. JavaScript: For implementing game logic, such as starting the game, spawning insects, and updating the score and timer.

Usage:

Start the Game: Click the "Play Game" button on the initial screen. Select Your Insect: Choose your favorite insect from the options provided. Catch Insects: Click on the insects as they appear to earn points. View Your Score and Time: Keep an eye on the timer and score displayed on the screen. Game Over: The game continues until the user decides to close the browser tab or window.

Code Structure:

index.html: The main HTML file containing the game's structure. style.css: The stylesheet for the game's visual appearance and layout. script.js: The JavaScript file containing the game's logic and interactions. Contributing Contributions to improve the game are welcome. If you have suggestions or fixes, please submit a pull request or open an issue.

Contact:

For any questions or feedback, please reach out to: Email: [email protected] GitHub: arushiihsura

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published