implemented class GameMechanicTest