Robotic Board Game Logo

Tables of Contents

  • Environment
  • Agents
  • Animation
  • Evaluate Metrics
  • API Reference
    • agent
    • game
    • trainer
    • menu
      • RoboticBoardGameMenu
Robotic Board Game
  • API Reference
  • menu
  • View page source

menu

class rbgame.menu.RoboticBoardGameMenu(**agent_fn)[source]

Bases: object

A simple menu to custom game parameters and animate the game process with these parameters.

Parameters:

agent_fn –

Parameter - agent’s type, argument - a function with the signature f(num_robots: int, with_battery: bool) -> BaseAgent. For example:

RoboticBoardGameMenu(astar=astar_constructor, dqn=dqn_constuctor)

Previous

© Copyright 2024, Nguyen Thanh Trung.

Built with Sphinx using a theme provided by Read the Docs.