Skip to content

Sadatpour/Game-AppleChaseFrenzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Chase Frenzy

A modern twist on the classic snake game, built with HTML5, CSS3, and JavaScript.

Credits

  • Game Developer: Mojyaba S. Sadatpour
  • PRD Created by: GROK
  • Development Tool: CURSOR AI

Features

  • Classic snake gameplay with modern visuals
  • Wrap-around walls
  • Score tracking
  • Game history (last 10 games)
  • Sound effects
  • Responsive design for all devices

Setup Instructions

  1. Clone or download this repository
  2. Open index.html in your web browser
  3. No server required - the game runs entirely in the browser

Game Controls

  • Desktop:

    • Arrow keys or WASD to control snake direction
    • Space to start/restart game
  • Mobile:

    • Swipe to control snake direction
    • Tap the on-screen buttons to control direction
    • Tap "Play Again" to restart

Project Structure

  • index.html - Main HTML file
  • css/style.css - Styling for the game
  • js/game.js - Game logic
  • sounds/ - Sound effects
    • eat.mp3 - Sound played when eating an apple
    • gameover.mp3 - Sound played when game ends

How to Play

  1. Click "Start Game" to begin
  2. Control the snake using arrow keys or WASD
  3. Eat the red apples to grow and earn points
  4. Avoid hitting your own tail
  5. When you lose, your score is saved to the game history
  6. Click "Play Again" to restart

Browser Compatibility

The game works on all modern browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

Releases

No releases published

Packages

No packages published