Compare commits

...

3 Commits

4 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,10 @@
import pygame as pg
from board import render_board
import numpy as np
from board import render_board
from position import pos
#print(pos)
pg.init()
size = 900

BIN
pieces/b-knight.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
pieces/w-knight.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

10
position.py Normal file
View File

@ -0,0 +1,10 @@
import pygame as pg
pos = [[4, 3, 2, 5, 6, 2, 3, 4],
[1, 1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1, 1],
[4, 3, 2, 5, 6, 2, 3, 4]]