tianyupu / comp3608ass1

Othello (Reversi) implementation in Python
3 stars 1 forks source link

False Positive #3

Closed lisafedorenko closed 12 years ago

lisafedorenko commented 12 years ago

Another type of error: This one went next to a piece of the opposite colour, in a row it couldn't flank, it might be resolved alongside the previous bug This is a 8x8 game of Othello. It's w's turn to move. 01234567 +--------+ | |0 | W |1 | BW |2 | BBW |3 | BBB |4 | WW |5 | W |6 | BBB |7 +--------+ {(6, 4): (False, False, ((4, 2), None, (4, 6), None)), (3, 1): (False, False, (None, None, None, (5, 3))), (2, 3): ((None, 5), False, (None, (4, 1), None, (4, 5))), (2, 2): ((None, 4), False, (None, None, None, (5, 5))), (2, 4): (False, False, (None, (4, 2), None, None)), (3, 5): ((None, 5), False, (None, (5, 3), None, None))} Type your move in the form 'x y' (without quotes): 6 4 This is a 8x8 game of Othello. It's b's turn to move. 01234567 +--------+ | |0 | W |1 | BW |2 | BBW |3 | BBBW |4 | WW |5 | W |6 | BBB |7 +--------+ {(6, 3): ((3, None), False, False), (5, 6): (False, (4, None), ((3, 4), None, None, None)), (3, 1): (False, (None, 4), False), (7, 4): ((3, None), False, False), (3, 6): (False, False, (None, (5, 4), None, None)), (5, 1): (False, False, (None, None, (3, 3), None)), (4, 0): (False, (None, 7), False), (5, 2): ((3, None), (None, 4), (None, None, (3, 4), None)), (6, 5): (False, False, ((3, 2), None, None, None)), (3, 5): (False, (2, None), False)} Type your move in the form 'x y' (without quotes):