ajaynegi33 / ajaynegi33/Old-School-Game

Add Lights Out Game

Open
#80 2 comments 0 reactions 1 assignee Claimed by @Artemis231005 View on GitHub
enhancement good first issue gssoc gssoc25 level3 status: ready for dev
Dominant language
TypeScript
Stars
17
Forks
23
PR merge metrics
No merged PRs in 30d

Description

### 🔍 Is this game already proposed?

- [x] I have searched both "open" and "closed" issues and this is not a duplicate.

### 🎮 Game Summary

Add Lights Out Puzzle Game

Description:
I want to add a new game to the collection — Lights Out, a classic puzzle where clicking a tile toggles it and its adjacent tiles. The objective is to turn off all the lights on the grid.

Gameplay Overview:
- Grid size: 5x5
- Each tile can be either on (lit) or off
- Clicking a tile toggles: That tile & Its top, bottom, left, and right neighbors
- The player wins when all lights are turned off

Benefits:
- Puzzle-based, visually interactive, and fits well in the collection of logic games
- Lightweight and fun
- Adds variety to existing game types in the project

### 🧠 Brain Development Impact

Impact on Brain Development:

- Enhances logical thinking and pattern recognition
- Improves working memory and strategic planning
- Boosts attention to detail and focus
- Strengthens spatial awareness
- Encourages problem-solving and decision-making skills

### 📚 Scientific Backing

_No response_

### 📄 Have You Read `CONTRIBUTING.md`?

- [x] I have read and understood the [CONTRIBUTING.md](https://github.com/ajaynegi45/Old-School-Game/blob/main/CONTRIBUTING.md) and agree to follow the project’s game standards.

### 👨‍💻 Would you like to work on this game yourself?

Yes

### 🛠️ Implementation Plan (if you're building it)

Main Implementation Points:

- 5x5 Grid
- Cell Toggling Logic
- Random Start: On game load/reset, randomly toggle a few cells to start
- Win Detection: After each move, check if all cells are off
- Styling

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.