Skip to content

anurag-adk/ant-smasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐜 Ant Smasher

📌 Project Overview

Ant Smasher is a fun, interactive web game where you must smash as many ants as possible before they reach the other side! The game is built using JavaScript, which showcases it's powers as a programming language. So, are you ready to smash some ants?

🌐 Deployed At

The game is live at: https://anurag-adk.github.io/ant-smasher/

🔧 Tech Stack

  • HTML5 (semantic markup)
  • CSS3 (modern, responsive styles)
  • JavaScript (game logic, interactivity)

🚀 Features

  • 🖱️ Click to smash ants and score points
  • 🐜 Animated ants with smooth movement
    • 🎯After 5 points, ants will spawn from both directions
    • 🚨After 10 points, ants' speed increases
  • 🏆 High score tracking (local storage)
  • ⏸️ Pause/Resume and Quit functionality
  • 🎵 Cool sound effects for immersive gameplay
  • ⚡️ Clean, accessible UI

📂 Folder Structure

📁 ant-smasher/
├── 📁 assets/
│   ├── 📁 audio/
│   └── 📁 images/
├── 📁 css/
│   └── style.css
├── app.js
├── index.html
└── README.md

⚙️ Setup on Your Device

  1. Clone or download the repository to your local machine:
    git clone https://github.com/anurag-adk/ant-smasher.git
    cd ant-smasher
  2. Open index.html in your browser to play the game.

🙏 Thank You

A Special Thank You To Our Mentors and Facilitators at Leapfrog especially Yachu Raja Joshi and Nabin Thapa Dai

About

Ant Smasher Game built using JS as an assignment for LSPP

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors