Skip to content

Interactive fruit-slicing game with score tracking, limited trials, and sound effects for engaging gameplay.

Notifications You must be signed in to change notification settings

raju-2003/Fruits-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Fruits Slicing Game

This interactive web game challenges players to slice falling fruits with their mouse cursor.

Features:

  • Start/Reset Game: Initiate or reset the game session.
  • Score: Keeps track of the player's score.
  • Trials Left: Displays remaining chances to play.
  • Fruit Slicing: Slice fruits by hovering over them with the cursor.
  • Game Over: Indicates the end of the game session.
  • Sound Effects: Plays a sound effect when slicing fruits.

Files:

  • index.html: HTML file containing the game interface.
  • styling.css: CSS file for styling the game elements.
  • jquery.js: JavaScript file handling game logic and interactivity.

Technologies Used:

  • HTML5: Structure of the web page.
  • CSS3: Styling the game elements.
  • JavaScript (jQuery): Implementing game logic and interactivity.
  • jQuery UI: Styling for smooth user interface elements.

How to Play:

  1. Click the "Start Game" button to begin.
  2. Move your cursor to slice falling fruits.
  3. Each sliced fruit earns you points.
  4. You have limited chances to play, indicated by hearts.
  5. The game ends when all chances are used up.
  6. Click "Reset Game" to start a new session.

Credits: This code was created by Raj Narayanan

Github: https://github.com/raju-2003

About

Interactive fruit-slicing game with score tracking, limited trials, and sound effects for engaging gameplay.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published