Fixed bugs.
Game rules are completed.