https://github.com/alirezasaadatmand/knight-tour-problem
Auto solving the famous KNIGHT'S TOUR PROBLEM in chess
https://github.com/alirezasaadatmand/knight-tour-problem
game knight-tour pygame python
Last synced: 2 months ago
JSON representation
Auto solving the famous KNIGHT'S TOUR PROBLEM in chess
- Host: GitHub
- URL: https://github.com/alirezasaadatmand/knight-tour-problem
- Owner: AlirezaSaadatmand
- Created: 2024-05-09T19:42:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-30T15:28:04.000Z (about 1 year ago)
- Last Synced: 2025-01-02T03:42:30.980Z (10 months ago)
- Topics: game, knight-tour, pygame, python
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Knight's tour
This project shows the famous knight's tour in chess .
## What is a knight's tour
A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square exactly once. If the knight ends on a square that is one knight's move from the beginning square (so that it could tour the board again immediately, following the same path), the tour is closed ; otherwise, it is open .
check out https://en.wikipedia.org/wiki/Knight%27s_tour for more information.
### Some variatioins
 
# This project
visualize the Knight's tour from any square in an chessboard
## dependencies
```
pygame
```### Installing
After installing python , run the following command in your terminal
```
pip install pygame
```## Pictures

it can also be big or small but you have to change the code yourself :)
