GithubHelp home page GithubHelp logo

simple-loop-solver's Introduction

Simple Loop (Sloop) Solver

Description

Simple Loop is a logic puzzle that involves creating a single continuous non-intersecting loop that that enters (and exits) every unshaded cell in the grid.

This project is a hastily written Simple Loop (aka sloop) solver that is currently hardcoded to only solve 6x6 puzzles. The general solver part should be relatively simple to expand to any grid size (other than the grid reprentation being a 64-bit integer), but this was the work of a few hours and it did the job I wanted it to do. It is designed to find all essentially unique ways to clue a 6x6 Simple Loop grid to achieve a unique solution. A "clue" being a shaded cell.

Installation

This project is built using Rust and Cargo. Follow these steps to get it up and running:

# Clone the repository
git clone https://github.com/dclamage/simple-loop-solver.git

# Navigate to the directory
cd simple-loop-solver

# Build the project
cargo build --release

# Run the project
cargo run --release

License

This project is dual-licensed under the terms of both the MIT License and the Apache License 2.0. You may choose to use the project under the terms of either license.

simple-loop-solver's People

Contributors

dclamage avatar

Stargazers

John Owen Nixon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.