Not sure if this is better or worse...

Just play it a bunch and start debugging, is my suggestion.