Open dev-hmsk opened 1 year ago
Problem: Bug where capture flag is incorrectly made or exists as false when it should be true during a double capture.
This causes the elif statement in main.py process_moves() to try and place a piece where another already exists. https://github.com/dev-hmsk/boardgame/blob/e4cb6a7e08d1adb713ad1de11dc77a27f25e1047/main.py#L79C1-L86
This triggers the board.py Board._place_at_location() else block and returns the error print statement. https://github.com/dev-hmsk/boardgame/blob/e4cb6a7e08d1adb713ad1de11dc77a27f25e1047/board/board.py#L232C1-L237
This might have to do with the recursive loop in main.py process_piece_selection(). https://github.com/dev-hmsk/boardgame/blob/e4cb6a7e08d1adb713ad1de11dc77a27f25e1047/main.py#L152-L155
I don't know if jumps in straight lines vs angled lines causes seperate issues
Reproduce: Start Game and attempt double jump
This is being addressed in
https://github.com/dev-hmsk/boardgame/tree/bug/Bug
Problem: Bug where capture flag is incorrectly made or exists as false when it should be true during a double capture.
This causes the elif statement in main.py process_moves() to try and place a piece where another already exists. https://github.com/dev-hmsk/boardgame/blob/e4cb6a7e08d1adb713ad1de11dc77a27f25e1047/main.py#L79C1-L86
This triggers the board.py Board._place_at_location() else block and returns the error print statement. https://github.com/dev-hmsk/boardgame/blob/e4cb6a7e08d1adb713ad1de11dc77a27f25e1047/board/board.py#L232C1-L237
This might have to do with the recursive loop in main.py process_piece_selection(). https://github.com/dev-hmsk/boardgame/blob/e4cb6a7e08d1adb713ad1de11dc77a27f25e1047/main.py#L152-L155
I don't know if jumps in straight lines vs angled lines causes seperate issues
Reproduce: Start Game and attempt double jump