Giter Club home page Giter Club logo

gss's Introduction

  ____ ____ ____
 / ___/ ___/ ___|  Generic Sudoku Solver
| |  _\___ \___ \  (c) Bart Pieters 2019
| |_| |___) |__) |
 \____|____/____/

The Generic Sudoku Solver (gss) can solve and generate many types of sudokus (such as jigsaw sudokus, NRC sudokus parquet sudokus, etc.). The gss program allows the user to define the sudoklu structure so you can define your own custom sudoku types.

All code is published under the GPL version 3, except for the files in the examples directory and its subdirectories. The examples are published under the CC0 license.

For more details see:

https://bartp5.github.io/gss/

gss's People

Contributors

bartp5 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

tommywoh phamdong

gss's Issues

How to generate new standard 16 x16 puzzles with and without template?

I wish to generate sudoku puzzles of size 16 x 16. Following the documentation, I tried to do so by running the following command:

./gss -g -t template16.txt
[template16.txt](https://github.com/bartp5/gss/files/4994551/template16.txt)

The output console says: Warning, sudoku has at least 11 solutions. Stopped searching for more. Found 11 solutions in 4.350900e-02s. But I don't know where are the solutions being written?

Also, how should I go about generating random puzzles without any template while also ensuring that they have unique solutions?
I am attaching the template file that I used.

Issues in MakeFile: link flag should be at the end

In the Makefile, you need to give link flags in the end. It should look like $(CC) $(CFLAGS) -o gss $(OBJ) $(LFLAGS). Otherwise, we get the linking error pasted at the end of this msg. Have a look at this post which helped me figure it out: https://stackoverflow.com/questions/11336477/gcc-will-not-properly-include-math-h

While compiling, I got the following error with the existing make file:

sudoku_generator.c:(.text+0x5bd): undefined reference to `round' sudoku_generator.o: In function `Rotate180': sudoku_generator.c:(.text+0x6b5): undefined reference to `round' sudoku_generator.o: In function `Rotate90': sudoku_generator.c:(.text+0x8f4): undefined reference to `round' sudoku_generator.o:sudoku_generator.c:(.text+0xd7f): more undefined references to `round' follow collect2: error: ld returned 1 exit status Makefile:46: recipe for target 'gss' failed make: *** [gss] Error 1

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.