#NEWLINE# def __init__( self , rdoc , n , px ) : #NEWLINE# #INDENT# self . rdoc = rdoc #NEWLINE# self . n = n #NEWLINE# rdoc . props . title = 'TicTacToe!' #NEWLINE# self . svg = rdoc . element ( 'svg' ) #NEWLINE# self . px = px #NEWLINE# self . dx = ( self . px / self . n ) #NEWLINE# self . svg . app . actual_cursorx = 0 #NEWLINE# self . svg . app . actual_cursory = 0 #NEWLINE# self . svg . app . cursorx_index = 0 #NEWLINE# self . svg . app . cursory_index = 0 #NEWLINE# self . svg . app . n = self . n #NEWLINE# self . svg . app . checked = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . svg . att . width = px #NEWLINE# self . svg . att . height = px #NEWLINE# self . __create_styles ( ) #NEWLINE# self . __style ( ) #NEWLINE# self . __draw_board ( ) #NEWLINE# self . __set_events ( )