Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game represents the game state.
func (*Game) SelectLevel ¶
SelectLevel selects the level based on the currentLevel parameter and returns the move limit and walls for that level. The move limit determines the maximum number of moves allowed in the level. The walls represent the utils.Obstacles in the level that the player needs to navigate through.
Click to show internal directories.
Click to hide internal directories.