go-sudoku

command module
v0.0.0-...-3596b42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2018 License: MIT Imports: 11 Imported by: 0

README

Sudoku

A game of Sudoku written in Go.

From Wikipedia:

Sudoku (数独 sūdoku, digit-single) (/suːˈdoʊkuː/, /-ˈdɒk-/, /sə-/, originally called Number Place) is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 subgrids that compose the grid (also called "boxes", "blocks", or "regions") contains all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which for a well-posed puzzle has a single solution.

Created by Jason Wangsadinata using Pixel.

Usage

Run it the usual way:

go run sudoku.go

How to Play

  • Left mouse click to select a box.
  • Number keys to input a number.
  • Space or Backspace to delete a number.

Screenshots

Sudoku

Acknowledgements

Credits to Brendan Jurd for the code on puzzle generation.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL