Skip to content

A small program used to solve Tantrix Seven-tiles puzzles. However, primarily built to explore functional programming in Java 8 with Javaslang and Javactic

Notifications You must be signed in to change notification settings

jorander/TantrixSevenTilesPuzzleResolverJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TantrixSevenTilesPuzzleResolver - Java

This is a small application for solving [Tantrix] (http://tantrix.com/) Seven tiles puzzles that I have put together to learn functional programming using Java 8, [Vavr] (http://www.vavr.io/) and [Javactic] (https://github.com/javactic/javactic).

Previously I've made a Scala-based implementation that can be found [here] (https://github.com/jorander/TantrixSevenTilesPuzzleResolver).

Build it

mvn clean install

Run it

java -jar ./target/TantrixSevenTilesPuzzleResolverJava-*.jar 1 8 7 56 11 17 18

The number arguments are number identifiers for Tantrix tiles, try other numbers (1-56) to get solutions for different sets of tiles. If you enter non-integers, numbers above 56 (there are only 56 tiles in Tantrix) or more or fewer arguments (the puzzle uses exactly seven different tiles) you get an error message.

About

A small program used to solve Tantrix Seven-tiles puzzles. However, primarily built to explore functional programming in Java 8 with Javaslang and Javactic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages