-
Notifications
You must be signed in to change notification settings - Fork 0
edgeofsanity76/LightsOut
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
========Lights Out======= - Run the project as normal - Default grid size is 5x5, but you can specify any size apart from 0. Specify a size and click generate I used Windows Forms for this project as it was the most straight forward. Also I hadn't use it for ages and thought it would be fun. The project comprises of a single form, and a custom user control which generates the light grid. LightsController is the main class that deals with interaction. Each light is an instance of the light class. LightsController generates a 2D array of a specified size and then listens for Light click events. Tests cover common scenarios as well as edge cases such as zero length grids. Improvements: - Add a score - End the game when lights are out - Adjustable light sizes (currently 50px)
About
A simple game
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published