Game API
https://codyfight.com/api-docs/
Last updated
Was this helpful?
https://codyfight.com/api-docs/
Last updated
Was this helpful?
The game API documentation is maintained on the official Codyfight .
Each game in Codyfight has its own data object that holds the current state of the game and receives the name of GameState, containing the following information:
State: status, mode, round - basic summary information of the current game.
Players: CAgents participating in the current game and their stats.
Special agents - currently spawned special agents, their stats, coordinates, and configuration.
Map - Tilemap structure with configuration for each tile (empty, obstacle, wall, exit gate, ...).
Verdict - current game's verbal summary.