Open bgilroy26 opened 4 years ago
add color of turn so that each turn num + color of turn is unique, not just position_id
Add vector of size 448 to dataframe
Determine color of player, go through the squares of the board and see if they are attacked by that color. Go through the squares of the board and see how many are attacked by the opponent
Bootstrap the process by hardcoding the initial values for Petrosian's career. Output Petrosian data to CSV. Future player-career values are read in from csv.
Player_id, Game_id, turn_num, Position_id, position FEN, game result, player piece activity, opponent piece activity, player # of protected pieces, player # of pieces