White Paper
  • Overview
  • INTRODUCTION
    • What is Codyfight?
    • Mission and Vision
    • Problems & Solutions
      • Lack of community input in games
      • AI in modern games
      • Programmers neglected from gaming
      • Grinding avoids enjoyment in games
  • GAMEPLAY
    • Gameplay
    • Metagame
      • NPCs
      • Skills
      • Map Tiles
      • Creative freedom
      • Competitive gaming
      • Casual gaming
    • In-game assets
      • CAgent
      • Codyfighter
      • CBox
    • Player Dashboard
      • Launchpad
      • Leaderboards
      • Inventory
      • Profile
      • Widget
      • Shop
  • TECHNICAL SUMMARY
    • Infrastructure
      • Game API
  • Roadmap
    • Roadmap
  • ECOSYSTEM
    • Introduction
    • Coding
    • Manual gaming
    • Free Market
      • AI bots
      • Codyfighters
  • TOKENOMICS
    • Introduction
    • CTOK
      • Utilities
        • Community incentives, rewards, income
        • In-game asset purchases
        • Governance
    • CGaz
  • FINAL WORDS
    • Disclaimer
    • Summary
  • WIKI
    • Wiki
Powered by GitBook
On this page

Was this helpful?

  1. TECHNICAL SUMMARY
  2. Infrastructure

Game API

https://codyfight.com/api-docs/

PreviousInfrastructureNextRoadmap

Last updated 7 months ago

Was this helpful?

The game API documentation is maintained on the official Codyfight .

GameState

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.

website