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

Split block creation by pairs #51

Closed xurxodiz closed 12 years ago

xurxodiz commented 12 years ago

The genes define the level in blocks of two. Right now there's only genes for "PowerUp", "Coins" and "Empty". That means they always show in pairs.

We should code genes and chunks for the eight possible combinations and then weight them in the grammar.

xurxodiz commented 12 years ago

Quite related to #56. This issue is the grammar side of that coin.

xurxodiz commented 12 years ago

Okay, basing it in #52 (randomize enemy position in the chunk), here's a wild idea: why don't we just tokenize the block pairing? So, for example, BLOCK_EP would mean there's an Empty and a PowerUp, but we're not sure which one is on the left and which on on the right.

I think it balances quite nicely the more-options / less-complexity dilemma.

xurxodiz commented 12 years ago

Done partially (for one row), still lots of combinations missing.

xurxodiz commented 12 years ago

Those already existing are done. New ones will be implemented following this principle.