Commit Graph

5 Commits

Author SHA1 Message Date
Tom Stellard 84daa736a8 Ensure that all teams are loaded from a save file before looking up pointers
This fixes a crash when loading a save file from the command line.
2021-08-26 22:41:49 -07:00
Tom Stellard 363cf73b13 benchmark.sh: Pass -n to gzip
This removes metadata from the compressed file so that identical
input files will produce identical compressed files.
2021-07-27 14:41:40 -04:00
Tom Stellard 4ee618fadf test/test-load-save.sh: Run another test after simulating a full seasons
There are some values in the save files which only exist after a full
season has been simulated (e.g. cup history), so make sure test this.
2021-07-27 14:41:40 -04:00
Tom Stellard 068308636e test: Add benchmark.sh script for collecting benchmark data 2021-03-26 22:47:26 -04:00
Tom Stellard 013df8dd93 Add json interface
This adds an initial version of a json interface to bygfoot.  This
is still in development so the interface may change in the future.  This
interface can be used for writing tests or for communication between a
client and server.

To use the interface, you can pass a json file with commands to bygfoot
using the --json option.
2021-03-05 23:38:28 -05:00