made the initial board a memeber of the board
Some checks failed
pre-release / Pre Release (push) Has been cancelled
Some checks failed
pre-release / Pre Release (push) Has been cancelled
module
This commit is contained in:
parent
e6fafc8081
commit
c7884e227b
@ -227,3 +227,5 @@ class Board:
|
|||||||
|
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
INITIAL_BOARD = Board.setup_FEN_position("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1")
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
from controller.controller import Controller
|
from controller.controller import Controller
|
||||||
from logic.board import Board
|
from logic.board import INITIAL_BOARD
|
||||||
from view.gui import GUI
|
from view.gui import GUI
|
||||||
from view.tui import TUI
|
from view.tui import TUI
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
initial_board_position = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
|
board = INITIAL_BOARD
|
||||||
board = Board.setup_FEN_position(initial_board_position)
|
|
||||||
|
|
||||||
view = GUI()
|
view = GUI()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user