API#
|
Configuration class for setting up a BattleSnake game environment. |
|
Configuration for encoding a BattleSnake game state into a NumPy tensor. |
|
Battlesnake game environment backed by a C++ simulation engine. |
Base configuration class for BattleSnake reward functions. |
|
Configuration for the Standard BattleSnake reward function. |
|
Configuration for the Kill-based BattleSnake reward function. |
|
Calculates the Nash equilibrium for a given game formulation using a C++ backend. |
|
Creates a preset configuration for a standard 2-player Duel game. |
|
|
Generates a mapping of feature names to their depth index in the spatial encoding. |
Creates a preset configuration for a 2-player Restricted Duel game. |
|
Creates a preset configuration for a 4-player Restricted game. |
|
Creates a preset configuration for a standard 4-player game. |