Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/crystalgamesstudio/schools-out

"School's Out!" is an exciting 2D side-scrolling arcade game where you play as a student trying to survive the challenges of school life. Jump over obstacles, dodge teachers, and manage your energy as you aim for the highest score!
https://github.com/crystalgamesstudio/schools-out

2d-game arcade game

Last synced: about 2 months ago
JSON representation

"School's Out!" is an exciting 2D side-scrolling arcade game where you play as a student trying to survive the challenges of school life. Jump over obstacles, dodge teachers, and manage your energy as you aim for the highest score!

Awesome Lists containing this project

README

        

# 2D Arcade Game: School's Out!

## Game Overview

"School's Out!" is an exciting 2D side-scrolling arcade game where you play as a student trying to survive the challenges of school life. Jump over obstacles, manage your energy, and complete Morse code combos as you aim for the highest score!

## 🎮 GamePlay v0.1

[School's Out! GamePlay](https://github.com/user-attachments/assets/0e32c414-f95e-412d-b6cf-2c049a31929e)

## 🚀 Features

- Fast-paced, side-scrolling gameplay
- Multiple character options with unique attributes
- Randomly generated obstacles
- Score and level tracking
- Energy management system
- Morse code combo system for bonus effects
- Responsive design for both desktop and mobile play
- Sound effects and audio feedback

## 🕹ī¸ How to Play

1. Open `index.html` in your web browser to launch the game.
2. Select your character from the available options.
3. Use the Spacebar (on desktop) or tap the right side of the screen (on mobile) to make your character jump.
4. Avoid obstacles (alarm clocks, books, and pencil cases).
5. Manage your energy - jumping consumes energy, which refills when on the ground.
6. Complete Morse code combos when prompted for temporary energy preservation.
7. Try to survive as long as possible and achieve the highest score!
8. When the game ends, choose to start again or select a new character.

## 🎨 Game Elements

- **Player Characters**: Choose from student, nerd, athlete, artist, or rebel, each with unique attributes.
- **Obstacles**: SVG-rendered school items (alarm clocks, books, pencil cases).
- **Ground**: A green rectangle at the bottom of the screen.
- **Energy Bar**: Located at the top of the screen, shows remaining energy.
- **Score and Level**: Displayed at the top of the screen.
- **Combo System**: Morse code input for temporary bonuses.

## 🛠ī¸ Technical Details

- Built with HTML5 Canvas and JavaScript
- Firebase Authentication for user management
- Firestore database for user data
- Modular structure with separate classes for game elements
- Responsive design for both desktop and mobile devices
- SVG rendering for characters and obstacles
- Simple physics simulation for jumping and gravity
- Audio system for sound effects and feedback

## 🚀 Setup

1. Create a Firebase project at [Firebase Console](https://console.firebase.google.com)
2. Enable Email/Password authentication in Firebase Authentication
3. Create a Firestore database
4. Copy your Firebase configuration to `js/config.js`
5. Open `index.html` in your web browser to launch the game

## 🌟 Future Enhancements

- Add background music
- Implement a leaderboard system
- Add a pause menu
- Further mobile optimizations

## 🤝 Contribute

Feel free to fork this repository and submit pull requests with your improvements. Let's make this school adventure even more exciting!

## 📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

Get ready to test your school survival skills! Can you master the Morse code combos and overcome the academic obstacles? Play now and find out! 📚✏ī¸đŸƒâ€â™‚ī¸