Python 3 scripts which automate player movement on a Pac Macro server for demonstration purposes.
No external libraries are required.
The scripts/pacmacro/api.py module contains everything you need to interact with the Pac Macro server.
Navigate into the configuration directory:
cd scripts/cfg/
Create a new configuration file named target-server.cfg which will not be tracked by Git. You may create your own using the provided file target-server.cfg.template or reuse a provided config - for example:
cp target-server.cfg.heroku target-server.cfg
Exit the configuration directory:
cd ..
Once you have finished editing the configurations, choose any script in the scripts/ to execute - for example:
./pacman.py
By default:
blinky.pymoves along Georgia Street, between Richards and Hornby,clyde.pymoves along Granville Street, between Georgia and Pender,inky.pymoves along Dunsmuir Street, between Howe and Seymour,pinky.pymoves along Pender Street, between Hornby and Richards, andpacman.pyencircles all 4 borders of the grid created by the above characters.
