Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raju-2003/fruits-game

Interactive fruit-slicing game with score tracking, limited trials, and sound effects for engaging gameplay.
https://github.com/raju-2003/fruits-game

css html javascript jquey

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

**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](https://github.com/raju-2003)