it was complex and multidimensional , sometimes depending on which previous tile had been flipped , sometimes based on its color , sometimes based on how long fintan took ( in moves as well as seconds ) in flipping it .