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

https://github.com/saganaki22/greentendo

🎮 A nostalgic Game Boy simulator with Snake, Pong & Space Invaders | Pure JavaScript | Modern CSS styling | 8-bit sounds
https://github.com/saganaki22/greentendo

8bit browser-game css3 game-development gameboy-simulator html5-canvas pong-game retro-gaming retro-ui snake-game space-invaders vanilla-javascript web-game

Last synced: 4 months ago
JSON representation

🎮 A nostalgic Game Boy simulator with Snake, Pong & Space Invaders | Pure JavaScript | Modern CSS styling | 8-bit sounds

Awesome Lists containing this project

README

          

# 🎮 GREENTENDO

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

**[đŸ•šī¸ Play Now - Live Demo](https://saganaki22.github.io/Greentendo/)**

A nostalgic Game Boy simulator featuring classic games like Snake, Pong, Tetris, Space Invaders, and more, built with vanilla JavaScript and styled with modern CSS.

![image_2025-03-09_04-51-32](https://github.com/user-attachments/assets/e62bad64-6059-42b0-955e-9b2cbcac7434)

## đŸŽ¯ Features

- Classic Game Boy design with authentic styling, monochrome LCD and CRT filter
- Seven built-in games: Snake, Pong, Space Invaders, Tetris, Breakout, Golf, and Ace Climber
- Responsive design with size scaling slider
- Authentic Game Boy sound effects
- Boot-up animation sequence
- Multiple game levels with increasing difficulty

## 🎮 Controls

### Global Controls
- **Power On/Off**: Click power button
- **Start**: Enter (pauses/resumes games)
- **Select**: Shift
- **A Button**: Space or A key
- **B Button**: B key or Escape
- **Menu Navigation**: Arrow Keys
- **Game Selection**: Enter or Space

### Game-Specific Controls

#### 🐍 Snake
- **Move Up**: Up Arrow or W
- **Move Down**: Down Arrow or S
- **Move Left**: Left Arrow or A
- **Move Right**: Right Arrow or D
- **Pause/Resume**: Enter

#### 🏓 Pong
- **Move Paddle Left**: Left Arrow or A
- **Move Paddle Right**: Right Arrow or D
- **Pause/Resume**: Enter

#### 👾 Space Invaders
- **Move Left**: Left Arrow or A
- **Move Right**: Right Arrow or D
- **Shoot**: Up Arrow or Space
- **Pause/Resume**: Enter

#### 🧱 Tetris
- **Move Left**: Left Arrow or A
- **Move Right**: Right Arrow or D
- **Move Down**: Down Arrow or S
- **Rotate Block**: Up Arrow, W or Space
- **Pause/Resume**: Enter

#### 🏏 Breakout
- **Move Paddle Left**: Left Arrow or A
- **Move Paddle Right**: Right Arrow or D
- **Pause/Resume**: Enter

#### â›ŗ Golf
- **Adjust Angle**: Left/Right Arrows or A/D
- **Power Meter**: Space or A (press to start, press again to set power)
- **Pause/Resume**: Enter

#### 🧗 Ace Climber
- **Move Left**: Left Arrow or A
- **Move Right**: Right Arrow or D
- **Pause/Resume**: Enter

## 🆕 Recent Updates

- **Improved AI**: The Pong CPU now deliberately moves to the opposite side of the ball 65% of the time
- **Fixed Collision Detection**: Improved collision detection in Pong for more accurate gameplay
- **Bug Fixes**:
- Fixed Tetris pause and game over screen functionality
- Fixed Golf level 2 hole placement to avoid obstacles
- Improved button handling consistency
- **Control Improvements**:
- Enter/Start button and Space act like the Gameboy's A button in game over screens
- Better keyboard and touch controls for all games

## 🚀 Getting Started

1. Clone the repository:
```bash
git clone https://github.com/Saganaki22/Greentendo.git
```

2. Open `index.html` in your web browser

That's it! No build process or dependencies required.

## 📝 License

This project is licensed under the Apache License 2.0 - see below for details:

```
Copyright 2024 Saganaki22

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

![greentendo](https://github.com/user-attachments/assets/d167bfbc-8109-4bfe-b54e-b5c546a7f85f)

## 🙏 Credits

- Developed by [Saganaki22](https://github.com/Saganaki22)
- Inspired by the original Nintendo Game Boy
- SVG icons and styling optimized