This game uses beats to determine movement in the games

The sync-ing of music is done using coroutines and observers
Classes BeatCounter, BeatObserver determines when the beats are and MusicSynchroniser ensures the music is played in sync.
I followed a guide onto creating the synchronisation. Link: https://christianfloisand.wordpress.com/2014/01/23/beat-synchronization-in-unity/

For objects that require to observe the beat, BeatObserver is notified by BeatCounter when a beat is "seen" (calculated)

InputController manages user input and whether if the click is on beat

RaveManager supposedly draws a triangle for between 3 selected stereos to "kill" the enemy. But for mesh collider to work with the triangle, we draw add thickness to the triangle with double the points.

FeverManager manages when the game is in "fever" mode where the player has consecutively completed a number of triangles.
Compared to other ryhthm games where the fever fails when a beat is missed, we do not do this because it is very easy to miss a beat in this game due to needing to find and click a stereo.
FeverManager also controls the textures of certain objects and calls MusicSynchroniser to play better music as it is the class which knows when a fever comes/goes.
When player misses a beat by clicking, the fever will disappear and textures/music will revert back to normal.

EnemyManager manages EnemySpawner which spawns enemies. EnemySpawner uses a cube gameObject to determine start and end points of the enemy.

Enemy is an object which moves based on the beat. We count the number of beats so that we only move on the fourth beat. This is to slow down the pace of the game because the music is at 120bpm.

There are misc. classes such as SelectedGameObject so we can get particle systems / trail working for some aesthetic effects.



There is currently no win/lose condition due to time constrains.
Plan is to lose lives when enemy leaves the disco area.
To "kill" the enemy, we draw an area between stereos (transmit signals) so that the stereos will "play" music (prism drawn) and make people happy and fly to heaven.