[Français plus bas]
This repository contains several classic logic and combinatorial games, each in its own folder:
mastermind_prolog/— Mastermind solver in Prologothello_reversi/— Othello (Reversi) gamesudoku/— Sudoku solver using SAT encodingtable_de_verite/— Truth table and propositional logic toolstic_tac_toe/— Tic-Tac-Toe game with various strategies and AItrois_colorations_solveur_SAT/— Graph 3-coloring SAT encoding and solver
The code is written in French for educational purposes, but this documentation is provided in both English and French.
mastermind_prolog/
othello_reversi/
sudoku/
table_de_verite/
tic_tac_toe/
trois_colorations_solveur_SAT/
Each folder contains its own Python (or Prolog) scripts.
Clone the repository:
git clone https://github.com/CharleneJiang6/logic-games-in-python.git
Then navigate to the folder of which you want to execute the python file (except the mastermind game in Prolog).
- Source code: French
- Documentation: English and French
Ce dépôt regroupe plusieurs jeux logiques et combinatoires classiques, chacun dans son propre dossier :
mastermind_prolog/— Solveur Mastermind en Prologothello_reversi/— Jeu Othello (Reversi)sudoku/— Résolution de Sudoku par encodage SATtable_de_verite/— Générateur de tables de vérité et outils logiquestic_tac_toe/— Jeu Tic-Tac-Toe avec stratégies et IAtrois_colorations_solveur_SAT/— Coloration de graphe (3 couleurs) via SAT
Le code source est en français (dans un cadre d'un cours académique), mais la documentation est bilingue.
mastermind_prolog/
othello_reversi/
sudoku/
table_de_verite/
tic_tac_toe/
trois_colorations_solveur_SAT/
Chaque dossier contient ses propres scripts Python (ou Prolog).
Clonez le dépôt :
git clone https://github.com/CharleneJiang6/logic-games-in-python.git
Puis, naviguez dans un dossier pour exécuter le fichier python correspondant (sauf le jeu de mastermind en Prolog).
- Code source : français
- Documentation : anglais et français