A testing tool and simulator for the SDSSH Challenge 2023.
- Download the executable from the releases page.
- Rename the file to
gartentester.exe
(Windows) orgartentester
(macOS/Linux) - On macOS/Linux: make the file executable:
chmod +x gartentester
The following instructions are for macOS and Linux. You might have to tweak the syntax a bit to work on Windows (replace ./
with .\
, append .exe
to executables, …).
./gartentester -generate output.txt
# generate a garden with width 64 and height 32
./gartentester -generate -size 64x32 output.txt
# generate a garden with a random size
./gartentester -generate -size random output.txt
# generate a garden with 8 areas
./gartentester -generate -area-count 8 output.txt
# generate a garden with a random area count
./gartentester -generate -area-count random output.txt
./my-program | ./gartentester example-garden.txt
./gartentester -input commands.txt example-garden.txt
./gartentester -no-delay -input commands.txt example-garden.txt
./gartentester -step -input commands.txt example-garden.txt
./gartentester -generate -seed 42 garden.txt
./gartentester -generate -json garden.txt
git clone https://github.com/juho05/sdssh-gartentester
cd sdssh-gartentester
go build
On a UNIX-like system (e.g. macOS/Linux):
./build.sh
Copyright (c) 2023 Julian Hofmann
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.