Help the Chameleon camouflage to avoid its enemies! (Although the chameleon is in the house, he is utterly scared.) 

Choose the button to change the color that matches with the LED light tree.

Technical Content:

Github Link

Lecture Content

  • IEnumerator checking()
    I used this coroutine function to give a quick term to present the outcome of the player's move and change the color of the tree.
  • bool colorCompare(Color c1, Color c2)
    This function is used to compare the color of the chameleon and the tree. The colors in the parameter will obtain each object's color, and use c1.equals(c2) to return the boolean variable -- that will tell if the color of the chameleon and the tree will match or not.
  • int nextColor()
    This function will always make a random int variable within the method. By returning the randomly settled int variable, its value will always change the color of the tree, randomly.

Creative Details

I tried to balance by applying a shorter time limit. I iterated the most in controlling the timing between the coroutine and the duration of the player's choice.  
In the future, I am looking forward iterate it a bit more on its level by adding more chances (a.k.a, life) and differences in the timing. I would like to add some narratives as a part of communicating the game rules at the beginning of the game as well.

Published 5 days ago
StatusReleased
PlatformsHTML5
Authorfhwang

Leave a comment

Log in with itch.io to leave a comment.