olufjen / chess

Programs to utilize chess ontologies, and play games of chess
1 stars 0 forks source link

Occupies(x,y) changed to none(x,y) #17

Closed olufjen closed 3 years ago

olufjen commented 3 years ago

When playing, the following predicates have been found: none(BlackPawn4,d5) none(WhitePawn4,d4) none(BlackKnight2,f6) none(WhitePawn3,c4) none(BlackKnight1,c6) none(WhiteKnight1,c3) It seems all pieces that have been moved once and remain in this new position, get this predicate. The none predicate is also entered to the chessdomain

olufjen commented 3 years ago

Solved by removing this sentence: // usedBy.setPredicate(piecePred); in the Position Object setPieces method