Skip to content

ppolewicz/rgsimulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rgsimulator

Test how your bot behaves in certain situations.

(latest) rgkit is needed to use it. If you don't have it, grab it from here and install as a module.

Usage

usage: rgsimulator.py [-h] [-m MAP] usercode [usercode2]

Robot game simulation script.

positional arguments:
  usercode           File containing first robot class definition.
  usercode2          File containing second robot class definition (optional).

optional arguments:
  -h, --help         show this help message and exit
  -m MAP, --map MAP  User-specified map file.

Controls

rgsimulator is fully keyboard-controlled.

  • Use arrow keys or WASD to move selection.
  • Press F to create a friendly bot in selected cell.
  • Press E to create an enemy bot in selected cell.
  • Press R, Delete or Backspace to remove a bot in selected cell.
  • Press H to change hp of a bot in selected cell.
  • Press T to change turn.
  • Press C to clear the board.
  • Press Space to show moves bots would attempt.
  • Press Enter to progress turn.

Screenshots

About

Simulate situations to test your robotgame bot!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%