Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 975 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 975 Bytes

Nonogen

Genetic algorithm to solve nonogram puzzles

Requirements

  • Python3.x
  • Numpy

How to use

Run with:

python3 nonogen.py _puzzle\_name_ _nPopulation_  _mutation\_prob_

The puzzles are in the directory named "puzzles". The lines in each file represent the rules in each line/column of the puzzle, until the "-" character are the line rules and after the "-" are the column rules.

You can find the original puzzles at nonograms.org, like the example below:

Nonogram

You can read more about nonograms here https://en.wikipedia.org/wiki/Nonogram.

About

Project made by Bryan Cruz for the Artifficial Intelligence course at Federal University of ABC, taught by Fabrício Olivetti.