tango-generator

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2025 License: MIT

README

Tango Level Generator

This library is my implementation of something I have never seen done before - a completely random LinkedIn Tango level generator. This library generates levels by removing spaces from a full random board layout and verifying that the board is still solveable without guessing using its own internal solver algorithm. This means that while being able to generate unlimited random levels, the levels still follow LinkedIn's ethos of levels being solveable completely without guessing, as the solver is unable to guess randomly and must follow a set of strict logical rules that a human player would use when playing the game themselves.

Using this Library

go get -u github.com/jpadley18/tango-generator

See cmd/generate/generate.go for an example on how to generate a random level.

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL