Git Product home page Git Product logo

go-sudoku-gen's Introduction

Hello, there! 👋

Header

I'm a full stack engineer. Follow me for awesome projects and ideas! Github

I love coding interesting things in Typescript (React, Svelte, etc), Rust, Python, and Go. I am also a fan of Linux 🐧, BSD, and smaller operating systems like Haiku and Serenity.

Γηράσκω δ’αεί πολλά διδασκόμενος - As long as I live, I learn

go-sudoku-gen's People

Contributors

wisepythagoras avatar

Stargazers

 avatar

Watchers

 avatar  avatar

go-sudoku-gen's Issues

Some seeds cause the program to hang

Some seeds, like the following cause the program to hang:

8211
8290
5480
11042
12265
13528
16021
17057
18159
28494
31648
10007828

I suspect it's because of the puzzle generator.

How to reproduce

If you run the following, the program will encounter a seed that will cause it to hang.

while true; do
    rand=`echo $((1 + RANDOM % 1000000000000))`;
    ./go-sudoku-gen -seed $rand;
done

Fix unsolvable puzzles

Puzzle with seed 10000288 is unsolvable. This happens because too many boxes have too many numbers missing. There should be some sort of check when too many boxes have 7-8 numbers missing.

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.