Skip to content

rooklift/halite3_reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Halite 3 Reloader

This script takes a Halite 3 replay and feeds it (turn by turn) to a Halite 3 bot, comparing the bot's output to the output in the replay.

Usage

reload.py <filename> <player_id> <bot_path> <optional_2nd_bot_path>

Note, player_id will be 0, 1, 2, or 3.

Requirements

Out of the box, the script can only read JSON replays.

To read the .hlt replays, you will have to do pip install zstandard

Output

Disagreements between the replay and the bot are shown, like so:

Turn 151
    (blank)           g
    m 7 o             m 7 s
    c 13              m 13 s
    m 19 s            m 19 e
    m 31 e            m 31 n
    m 37 o            m 37 s
    m 87 o            m 87 s

About

Halite 3 reloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages