Skip to content

loewenm/sudoku-4x4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Sudoku-4x4

Using Prolog to solve a 4x4 Sudoku game

Called via the following commands:

Rows = [[,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,], [,,,,,,,,,,,,,,,]],

sudoku4(Rows),

maplist(label, Rows),

maplist(portray_clause, Rows).

About

Using Prolog to solve a 4x4 Sudoku game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages