xurxodiz / MarioLevels

My entry for the Mario AI Championship 2012, implementing adaptive procedural level generation. Holds 1st place at the all-time points and percentage tally.
MIT License
2 stars 1 forks source link

Put some order into LakituParameters #13

Closed xurxodiz closed 12 years ago

xurxodiz commented 12 years ago

LakituParameters, or LKP for short, is the file where all the odds are generated. Right now is a messy collection of member fields. As it grows, specially when the functions are added, we should try to institute some order into it.

xurxodiz commented 12 years ago

As per #7, we may implement an automaton for switching states. The chances then would be embedded in the transitions themselves, cleaning the LKP file.

xurxodiz commented 12 years ago

Invariants are now in LakituBuilder, where the chunk building functions are defined. Chances are now defined in a per-state basis. This file is now useless and will be deleted in the next commit.