Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaSaadatmand committed May 9, 2024
1 parent 2d2c089 commit 36d9c8f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,16 @@ This project solves the knight problem and uses pygamee for gui
you can start where ever you want and you can change the start position in the code



here is a demo :

![Screenshot 2024-05-09 143510](https://github.com/AlirezaSaadatmand/Knight-Problem/assets/157215281/a2fbdb56-9b3e-4952-93f9-cad0db1fc3a6)


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


![Screenshot 2024-05-09 143829](https://github.com/AlirezaSaadatmand/Knight-Problem/assets/157215281/5f219614-d233-4164-bc4d-0d5fe2a45331)


![Screenshot 2024-05-09 143922](https://github.com/AlirezaSaadatmand/Knight-Problem/assets/157215281/1232767a-da9c-4029-b7a4-b9f2f4546f7e)
4 changes: 2 additions & 2 deletions knight problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
WIDTH , HEIGHT = size
WIDTH , HEIGHT = (WIDTH*9//10) , (HEIGHT*9//10)

UNIT = 80
UNIT = 50

blocks = []

count_block = 8
count_block = 12


knight_position = 1
Expand Down

0 comments on commit 36d9c8f

Please sign in to comment.