"Othello" game needs some clarification
        Posted  
        
            by 
                pappu
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by pappu
        
        
        
        Published on 2011-02-24T23:16:30Z
        Indexed on 
            2011/02/24
            23:25 UTC
        
        
        Read the original article
        Hit count: 231
        
game-development

I am trying to see if my understanding of "othello" fame is correct or not. According to the rules, we flip the dark/light sides if we get some sequence like X000X => XXXXX. The question I have is if in the process of flipping 0->X or X-> 0, do we also need to consider the rows/columns/diagonals of newly flipped elements? e.g. consider board state as shown in above image(New element X is placed @ 2,3)
When we update board, we mark elements from 2,3 to 6,3 as Xs but in this process elements like horizontal 4,3 to 4,5 and diagonal 2,3 to 4,5 are also eligible for update? so do we update those elements as well? or just the elements which have starting as 2,3 (i.e update rows/column/diagonal whose starting point is the element we are dealing with, in our case 2,3?)
Please help me understand it
© Stack Overflow or respective owner