https://github.com/maskedsyntax/sudoku
Terminal based Sudoku game
https://github.com/maskedsyntax/sudoku
c cli game java sudoku sudoku-solver terminal
Last synced: 3 months ago
JSON representation
Terminal based Sudoku game
- Host: GitHub
- URL: https://github.com/maskedsyntax/sudoku
- Owner: maskedsyntax
- Created: 2021-04-28T12:55:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T22:58:00.000Z (over 3 years ago)
- Last Synced: 2025-07-14T06:16:37.331Z (12 months ago)
- Topics: c, cli, game, java, sudoku, sudoku-solver, terminal
- Language: C
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sudoku Game in C
A simple Sudoku game written in C using the `ncurses` library for the UI.
## Features
- Interactive 9x9 Sudoku board.
- Navigation using arrow keys.
- Input numbers 1-9.
- Automatic solver using backtracking (press 'S').
- Color-coded numbers (Initial: Blue, User: Green).
- Win condition check.
## Requirements
- `gcc`
- `ncurses` development libraries
## How to Build and Run
1. Build the game:
```bash
make
```
2. Run the game:
```bash
./sudoku
```
## Controls
- **Arrow Keys**: Move the cursor.
- **1-9**: Enter a number in an empty cell.
- **0**: Clear a cell.
- **S**: Automatically solve the Sudoku.
- **Q**: Quit the game.