def test_playable_boards():
    engine = SuperTicTacToe()
    opponent = Monkey()
    
    assert_equal(opponent.playable_boards(engine), [0,1,2,3,4,5,6,7,8])
    
    moves = build_move_list([
        (0, 1), (1, 0), (0, 2), (2, 0), (0, 3), (3, 0), (0, 4), (4, 0),
        (0, 5), (5, 0), (0, 6), (6, 0), (0, 7), (7, 0), (0, 8), (8, 0),
        (0, 0)])
    [engine.move(p, b, sq) for p, b, sq in moves]
    
    assert_equal(opponent.playable_boards(engine), [1,2,3,4,5,6,7,8])