game pieces logic