Giter Club home page Giter Club logo

sudoku-trainer's Introduction

A Sudoku trainer / solver / generator.

This repository contains a full-blown sudoku trainer / solver / generator which allows training of various techniques to solve sudoku puzzles.

Features

  • different types of sudoku puzzles (classic 9x9, 6x6, 4x4, jigsaw)
  • various logical solving techniques
    • singles (full house, naked & hidden singles)
    • locked pairs / triples
    • intersections (pointing / claiming)
    • hidden pairs / triples / quadruples
    • naked pairs / triples / quadruples
    • basic fish (x-wing, swordfish, jellyfish)
    • single digit patterns (skyscraper, 2 string kite)
    • uniqueness tests (unique rectangle 1/2/4)
    • wings (xy-wing, xyz-wing, w-wing)
    • chains (remote pair, x-chain, xy-chain)
  • all possible solution steps
  • brute force solver
  • rating mechanism
  • puzzle generator
  • visual explanation of each solution step
  • much more ...

Getting Started

The app requires a working Java 11 installation on your computer.

To run the app, simply type:

./gradlew run

Screenshots

Screenshot

Copyright (c) 2020 Thomas Neidhart

sudoku-trainer's People

Contributors

netomi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

sudoku-trainer's Issues

Add sudoku generator

Add a sudoku generator for different difficulty levels.
A very naive implementation is already there, but its slow and there is no guarantee that a valid sudoku is found in a reasonable amount of time.

Make manual pencil marks more sane

Currently, manual pencil marks works inverted, by default all values are possible and displayed. For convenience reasons it should work the other way around: no pencil marks are visible at first, and the user can select which ones shall be displayed.

The reason for this odd behavior is because manual pencil marks are simulated using the excludedValues property of each cell. This should be completely separated, the UI should take care of manual pencil marks as the stored values in the model are only needed for the hint solvers.

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.