A program to solve that awful dinnertime triangle game with the pegs. Or that puzzle from Zork Zero!
To install,
- Install a Java JDK 1.5 or higher, if necessary.
- Install a Scala version compatible with your JDK, if necessary.
- Install Maven if necessary. If you have apt, you can do this with
sudo apt install maven - Edit
pom.xmland relace your JDK version formaven.compiler.sourceandmaven.compiler.target. - Replace your Scala version for
scala.version. - Bring up a shell and enter
mvn compile
To run:
scala -cp target/classes org.riverporpoise.tee.TriangularField
or
scala -cp target/classes org.riverporpoise.tee.PegglebozField