Skip to content

Save file parser and simulator for 20th Century Food Court (Last Call BBS)

License

Notifications You must be signed in to change notification settings

lastcallbbs-community-developers/foodcourt-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

20th Century Food Court Save File Parser

A library for parsing/validating solutions to 20th Century Food Court, a subgame of Last Call BBS.

Usage

To validate all solved solutions in a directory, use

python -m foodcourt_sim validate_all [--json] <solution_directory>

Solution files are usually located under:

Windows: %USERPROFILE%\Documents\My Games\Last Call BBS\<user-id>\20th Century Food Court\
Linux: $HOME/.local/share/Last Call BBS/<user-id>/20th Century Food Court/

To simulate one or more individual solutions, use

python -m foodcourt_sim simulate [--json] <solution_file_path> ...

Alternatively, use - as the path to read from stdin.

Run python -m foodcourt_sim --help to see detailed usage instructions.

To run tests locally on your entire solutions folder (on Linux):

mkdir -p tests/solutions/$USER && cp -r "$HOME/.local/share/Last Call BBS"/*/"20th Century Food Court"/*.solution tests/solutions/$USER/
python -m pytest --show-capture no --tb no -k $USER

About

Save file parser and simulator for 20th Century Food Court (Last Call BBS)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages