Stupid regexp bug fixed
+ Winning/loosing states