rm TODO
This commit is contained in:
parent
40c228ef01
commit
6e061171da
7
board.py
7
board.py
|
@ -15,9 +15,7 @@ class Board:
|
||||||
def idxs_with_checkers_of_player(board, player):
|
def idxs_with_checkers_of_player(board, player):
|
||||||
return quack.idxs_with_checkers_of_player(board, player)
|
return quack.idxs_with_checkers_of_player(board, player)
|
||||||
|
|
||||||
|
|
||||||
# TODO: Write a test for this
|
|
||||||
# TODO: Make sure that the bars fit, 0 represents the -1 player and 25 represents the 1 player
|
|
||||||
# index 26 is player 1 home, index 27 is player -1 home
|
# index 26 is player 1 home, index 27 is player -1 home
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def board_features_to_pubeval(board, player):
|
def board_features_to_pubeval(board, player):
|
||||||
|
@ -249,9 +247,6 @@ class Board:
|
||||||
# Find all points with checkers on them belonging to the player
|
# Find all points with checkers on them belonging to the player
|
||||||
# Iterate through each index and check if it's a possible move given the roll
|
# Iterate through each index and check if it's a possible move given the roll
|
||||||
|
|
||||||
# TODO: make sure that it is not possible to do nothing on first part of
|
|
||||||
# turn and then do something with the second die
|
|
||||||
|
|
||||||
def calc_moves(board, face_value):
|
def calc_moves(board, face_value):
|
||||||
if face_value == 0:
|
if face_value == 0:
|
||||||
return [board]
|
return [board]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user