Skip to content

itsjfx/pacman-contest-replay-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

pacman-contest-replay-player

A script to make it easier to play Pacman contest replays.

Please make sure you have the latest capture changes from Sebastian: https://piazza.com/class/kbsmlzxg3k7418?cid=225 (@225).

Configuration

The python command can be changed in the script, as well as the path to the replays folder.

By default the script looks for replays in the replays folder and runs the capture.py script by calling python.

Usage

For example usage

python replay-player.py --help

Running the script without any parameters will just return all files in the replays folder specified with their corresponding id

python replay-player.py

You can filter by a team OR by two teams by using the -t or -teams flag. Note this flag is completely optional.

python replay-player.py --team TEAM1

python replay-player.py --team TEAM1 TEAM2

Afterwards you can select a replay ID by using the -n or --number flag

python replay-player.py --team TEAM1 -n 1

python replay-player.py --team TEAM1 TEAM2 -n 1

python replay-player.py -n 1

Step size can also be specified using the -s or --delay-step flag

python replay-player.py --team TEAM1 TEAM2 -n 1 -s 0

You can also choose a replay to play using the -f or --file flag

python replay-player.py -f BBC_vs_It_depends_contest18Capture.replay -s 0

Notes

You may want to add the replays folder to your .gitignore. You can do this by adding replays/ to your .gitignore file.

About

Pacman Contest Replay Player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages