Skip to content

This is a color matching game for tritanopes, a group of people who have blue-color recognition disabilities.

Notifications You must be signed in to change notification settings

nancywan1004/tritan-fighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tritan Fighter

Description

This is a special color mining game designed for people with blue-color recognition weakness.

A quick demo here:

Tritan Fighter Game Demo v.1.0

File Structure (New Unity Project/Assets/Scenes)

  • πŸ“‚ 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]

Technologies

  • Unity, C#

Core Features

  • 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.

Remark

This project was created during 2019 UBC Local Hack Day with Angela Tian.

About

This is a color matching game for tritanopes, a group of people who have blue-color recognition disabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages