Free Photos
WordPress Themes


print("This is console module") def busca_casilla(numero_casilla): from Tablero import Tablero for x in range (16): for y in range(16): if Tablero[x][y]['numero']==int(numero_casilla): return(x,y)
First function, returning relative square position in the board. Casilla stands for square, Tablero stands for Board.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.