Skip to content

Sudoku game written in Python, course project for 15-112.

Notifications You must be signed in to change notification settings

ilong4rennes/sudoku-15112

Repository files navigation

SUDOKU

Term Project for CMU 15-112

Description

This is a Python project that allows users to interactively play the game Sudoku. The Sudoku puzzle is a popular logic game consisting of a 9x9 grid of cells. The goal of the game is to fill in the grid with digits from 1 to 9, so that each row, column, and block contains all digits from 1 to 9 without any repetition.

Getting Started

Prerequisites

  • Python 3.x
  • cmu_graphics package

Usage

To start the game, run the main.py file in an editor.

Keyboard shortcuts:

  • 'a': highlight all singletons
  • 's': set all singletons
  • 'q': hint 2 level 1
  • 'w': hint 2 level 2
  • 'u': undo
  • 'r': redo
  • 'space': switch on/off auto candidate mode
  • 'up' / 'down' / 'left' / 'right': select cell on board
  • 1~9: select number

Acknowledgements

About

Sudoku game written in Python, course project for 15-112.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages