README.md – Lights Out Game
LightsOutGame is a classic puzzle game developed in C# using Windows Presentation Foundation (WPF) and the MVVM (Model–View–ViewModel) design pattern.
The goal of the game is to turn off all the lights on the grid — but toggling one light also toggles its adjacent ones.
This project was created to:
- Practice clean MVVM architecture
- Implement custom converters and commands
- Manage local data persistence with text files
- Build a modern, interactive UI with WPF
- Language: C#
- Framework: .NET / WPF
- Architecture: MVVM
- Data Storage: Plain text files (
settings.txt,statistics.txt,users.txt) - Version Control: Git & GitHub
LightsOutGameCellaLazarescu
│ LightsOutGame.sln
│ README.md
│ .gitignore
│
└───LightsOutGame
├── Commands
│ └── RelayCommand.cs
├── Converters
│ └── BoolToColorConverter.cs
├── Data
│ ├── settings.txt
│ ├── statistics.txt
│ └── users.txt
├── Models
│ ├── CellModel.cs
│ └── UserModel.cs
├── ViewModels
│ ├── AboutViewModel.cs
│ ├── AuthViewModel.cs
│ ├── LightsOutViewModel.cs
│ ├── SettingsViewModel.cs
│ └── StatisticsViewModel.cs
├── Views
│ ├── AboutView.xaml
│ ├── AuthView.xaml
│ ├── LightsOutView.xaml
│ ├── SettingsView.xaml
│ └── StatisticsView.xaml
└── App.xaml
Below are a few screenshots showcasing the Lights Out Game in action:
- Create a folder named
assetsin the root directory of the project. - Add your
.pngor.jpgscreenshots (e.g.,screenshot1.png,screenshot2.png). - Reference them in this README using Markdown syntax:
 💡 Tip: Use clear, descriptive titles for each image (e.g., “Login Page”, “Statistics Page”) to make your README more visually informative.
- 🕹️ Interactive Lights Out puzzle gameplay
- 🔐 Login / authentication system
- 📝 Local user statistics and settings saved in text files
- 🧭 MVVM pattern with clean separation of logic and UI
- 🎨 Custom
BoolToColorConverterfor dynamic cell styling - ⚡ Lightweight and easy to build
- Visual Studio
- .NET 6.0 or higher
- Git (optional for cloning)
git clone https://github.com/CellaIoana/LightsOutGame.git
cd LightsOutGameCellaLazarescu- Open
LightsOutGame.slnin Visual Studio - Build the solution
- Run the project (F5)
This project includes a GitHub Actions workflow to ensure the build passes successfully on every push:
.github/workflows/build.yml
This project is licensed under the MIT License.
Cella Lazarescu
📍 Passionate developer and computer science student, exploring software architecture and interactive UI design.
Contributions are welcome!
If you'd like to improve or extend this project:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request 🚀
If you have any questions or suggestions: 📧 Email: cella.lazarescu81@yahoo.com 🌐 GitHub: https://github.com/CellaIoana

