Skip to content

vamonke/sudoku

Repository files navigation

Sudokuku

A Sudoku game web app built with Next.js, TypeScript, Tailwind CSS, and Supabase.

Live demo

Features

  • Random Sudoku puzzles fetched from Supabase
  • Intuitive gameplay with arrow key navigation
  • Visual aids for selected cells, rows, columns, and subgrids
  • Conflict highlighting for mistakes
  • Toggle conflict visibility on/off
  • Undo and reset board functionalities

Getting Started

To run the Sudoku game locally, follow these steps:

# Clone the repo
git clone https://github.com/your-repo/sudoku-game.git

# Install dependencies
npm install

# Start the dev server
npm run dev

# Open http://localhost:3000 in your browser

Testing

The test suite is built with Jest and React Testing Library. To run the tests, use the following commands:

# Run the test suite
npm run test

# Run the test suite in watch mode
npm run test:watch