An open API service indexing awesome lists of open source software.

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

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.