mirror of
https://github.com/arthur-pbty/imprimersudoku.git
synced 2026-06-12 15:56:31 +02:00
69 lines
1.4 KiB
Markdown
69 lines
1.4 KiB
Markdown
# Imprimer Sudoku
|
|
|
|
Application web pour generer des grilles de Sudoku 9x9 et imprimer une feuille A4 contenant:
|
|
|
|
- 6 grilles de Sudoku
|
|
- 1 page de solutions correspondantes
|
|
- 4 niveaux de difficulte (facile, moyen, difficile, expert)
|
|
|
|
Site en ligne: [imprimersudoku.arthurp.fr](https://imprimersudoku.arthurp.fr)
|
|
|
|
## Objectif
|
|
|
|
Permettre d'imprimer rapidement des Sudoku propres et lisibles pour l'entrainement a la maison, en classe ou en atelier.
|
|
|
|
## Stack technique
|
|
|
|
- Next.js 16 (App Router)
|
|
- React 19
|
|
- TypeScript
|
|
- CSS global (optimise impression)
|
|
|
|
## Lancer en local
|
|
|
|
Prerequis:
|
|
|
|
- Node.js 20+
|
|
- npm
|
|
|
|
Installation et demarrage:
|
|
|
|
```bash
|
|
npm ci
|
|
npm run dev
|
|
```
|
|
|
|
Application disponible sur `http://localhost:3000`.
|
|
|
|
## Scripts utiles
|
|
|
|
```bash
|
|
npm run dev
|
|
npm run build
|
|
npm run start
|
|
npm run lint
|
|
```
|
|
|
|
## Structure rapide
|
|
|
|
- `app/page.tsx`: interface utilisateur, generation et impression
|
|
- `app/lib/sudoku.ts`: algorithmes de generation/validation des grilles
|
|
- `app/components/SudokuGrid.tsx`: affichage des grilles
|
|
|
|
## Deploiement
|
|
|
|
Build de production:
|
|
|
|
```bash
|
|
npm run build
|
|
npm run start
|
|
```
|
|
|
|
Le projet peut etre deployee sur un serveur Node.js, Docker, ou une plateforme compatible Next.js.
|
|
|
|
## SEO et backlinks
|
|
|
|
Projet associe au site principal: [imprimersudoku.arthurp.fr](https://imprimersudoku.arthurp.fr).
|
|
|
|
Si tu republies ce projet (fork, article, annuaire), conserve ce lien pour credit source et backlink.
|