This is a special color mining game designed for people with blue-color recognition weakness.
A quick demo here:
- π Scenes
- π [SampleScene.unity]
- π [SampleScene.unity.meta]
- π Scripts
- π [ColorGenerator.cs]
- π [ColorGenerator.cs.meta]
- π [GemSpawn.cs]
- π [GemSpawn.cs.meta]
- π [ResumeController.cs]
- π [ResumeController.cs.meta]
- π [ScoreRecorder.cs]
- π [ScoreRecorder.cs.meta]
- π [SquareGenerator.cs]
- π [SquareGenerator.cs.meta]
- π [SquareVanisher.cs]
- π [SquareVanisher.cs.meta]
- π [Timer.cs]
- π [Timer.cs.meta]
- π [VisualizeArea.cs]
- π [VisualizeArea.cs.meta]
- π [Scripts.meta]
- π dinos
- π [dinos.meta]
- Unity, C#
- SquareGenerator.cs, ColorGenerator.cs - The grid is filled with four different colors: light blue, light pink, dark blue and dark pink.
- SquareVanisher.cs - Clicking on a square/patch will make itself disappear and so do its neighbours having the same color. These neighbours are detected through a DFS traversal algorithm.
- SquareVanisher.cs - In the mean time, the neighbours with different colors will change their current color to one of the other three colors randomly.
- ScoreRecorder.cs, GemSpawn.cs - The more squares you remove, the more points you get. AND you will finally reveal the gems beneath it.
- Timer.cs - However, a timer is added to make the game more tense, yet more fun as a nature of games.
This project was created during 2019 UBC Local Hack Day with Angela Tian.