Skip to content

bernardosulzbach/wayout-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wayout Player

Build Status

An automated player for the Wayout game written using modern (C++ 20) features.

Building

A complete script for building and running this project is build.sh.

Running

# Because this process can use a TON of RAM, limiting it is a good idea.
# If you run with no swap, it is basically a requirement to ensure system stability.
# The following line limits the memory usage to 1 GiB on Linux.
systemd-run --scope -p MemoryMax=1G ./player ../input/$INPUT.txt

Inputs

The boards may be supplied in a textual format as exemplified by the inputs in the repository. The inputs are organized by the SHA-512 of the file contents. The Python 3 script reorganize_inputs.py organizes them by this.

License

The code is licensed under the BSD 3-Clause "New" or "Revised" License.