Added game logic, rules for shapes, etc.