Botpot
Visit our website
  • Fundamentals
    • Botpot overview
    • Get action
      • Get action: game state
      • Get action: API object
      • Get action: action object
    • Specialized game concepts
      • Get action: ref data
      • Game settings
    • Botpot architecture
  • Games
    • Creating your first bot
    • Understanding game logic
    • Explore game documentations
      • Tic-Tac-Toe
      • Quoridor
      • Connect Four
      • Battleship
      • Virus War
      • Dots and Boxes
      • Hex
      • Reversi
      • Gomoku
      • Mancala
      • Uno
      • Big 2
      • Snake & Tetris
      • Checker
      • Generals
      • Blokus
      • Wordle
      • Chinese Checker
Powered by GitBook
On this page

Was this helpful?

  1. Fundamentals

Botpot architecture

Last updated 1 year ago

Was this helpful?

Fig. 1 shows the high level architecture of how the platform works.

  1. The server sends the game state to all the participating bots.

  2. When it is Bot 1's turn to make a move, Bot 1 will calculate an action to make based on the game state that it has received.

  3. Bot 1 decides to place his circle in the top left of the board. The action is sent to the server.

  4. The server updates the game state based on this action.

  5. The server resends the game state to all the bots, and this is repeated until the game is over.

Fig 1: botpot architecture