nada-attia / dama

CS 3110 final project
5 stars 1 forks source link

Fix sideboard calculation #79

Closed nada-attia closed 3 years ago

nada-attia commented 3 years ago

when making a double jump, the piece that makes the double jump is counted in the sideboard

i suspect this bug has something to do with the way the board was initialized. since the sideboard pieces are mutable, there should be a constructor that initializes each field (to create unique sideboard counts)