Game based data initialization

The wide spread of instrument like input devices such as the guitar or drum controllers shipped with Guitar Hero lead to the thought that these could also be used to interact with the video game, introducing new elements of the population such as melodies and drum patterns. Not having such fancy devices and being stuck to a traditional PC for the actual game implementation, I decided to implement this feature with a more geeky solution like that found on Frets on Fire, a popular guitar hero clone. Number keys from zero to five control the pitch on the pentatonic scale, while the enter key manages the hold and pause states.

Once a pattern has been created, it is inserted in the population, substituting an existing and badly fitted one.



Alessandro Bruni 2011-02-18