Module Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeStore AttributeLoad NameLoad attr attr BinOpMult NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeStore AttributeLoad NameLoad attr attr BinOpMult NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpAdd Str Call NameLoad BinOpDiv NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpAdd Str Call NameLoad BinOpDiv NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpAdd Call NameLoad BinOpDiv NameLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num decorator_list decorator_list
N/A N/A logging N/A log N/A N/A logging getLogger __name__ N/A N/A N/A log setLevel N/A logging INFO board N/A N/A __init__ N/A N/A self rdoc n px N/A N/A N/A N/A self rdoc rdoc N/A N/A self n n N/A N/A N/A rdoc props title TicTacToe! N/A N/A self svg N/A N/A rdoc element svg N/A N/A self px px N/A N/A self dx N/A N/A self px N/A self n N/A N/A N/A N/A self svg app actual_cursorx 0 N/A N/A N/A N/A self svg app actual_cursory 0 N/A N/A N/A N/A self svg app cursorx_index 0 N/A N/A N/A N/A self svg app cursory_index 0 N/A N/A N/A N/A self svg app n N/A self n N/A N/A N/A N/A self svg app checked N/A N/A N/A N/A N/A self svg att width px N/A N/A N/A N/A self svg att height px N/A N/A N/A self __create_styles N/A N/A N/A self __style N/A N/A N/A self __draw_board N/A N/A N/A self __set_events N/A __draw_board N/A N/A self N/A N/A N/A dx N/A self dx N/A rng N/A range N/A self n N/A xi N/A rng N/A 1 N/A N/A l N/A N/A N/A self rdoc element line N/A N/A N/A l att x1 N/A N/A l att x2 N/A dx xi N/A N/A N/A l att y1 0 N/A N/A N/A l att y2 N/A self px N/A N/A N/A N/A self svg append l N/A yi N/A rng N/A 1 N/A N/A l N/A N/A N/A self rdoc element line N/A N/A N/A l att y1 N/A N/A l att y2 N/A dx yi N/A N/A N/A l att x1 0 N/A N/A N/A l att x2 N/A self px N/A N/A N/A N/A self svg append l N/A N/A self cursor N/A N/A N/A self rdoc element rect N/A N/A N/A N/A self cursor att x 0 N/A N/A N/A N/A self cursor att y 0 N/A N/A N/A N/A self cursor att width dx N/A N/A N/A N/A self cursor att height dx N/A N/A N/A N/A self svg append N/A self cursor N/A __set_events N/A N/A self N/A N/A N/A N/A self mouse_move_event_handler N/A N/A N/A self rdoc jsfunction e body 
            var mx= e.pageX-#{self.svg}.offsetLeft;
            var my= e.pageY-#{self.svg}.offsetTop;
            #{self.svg}.app.cursorx_index= ~~ (mx / #{self.dx});
            #{self.svg}.app.cursory_index= ~~ (my / #{self.dx});
             N/A N/A N/A N/A N/A self svg events add mousemove N/A self mouse_move_event_handler N/A N/A self update_cursor_position N/A N/A N/A self rdoc jsfunction body 
            var truncated_cursorx= #{self.svg}.app.cursorx_index*#{self.dx};
            var truncated_cursory= #{self.svg}.app.cursory_index*#{self.dx};
            var dx= (truncated_cursorx - #{self.svg}.app.actual_cursorx) / 3.0;
            if ((dx>0.01)||(dx<-0.01)) {
                #{self.svg}.app.actual_cursorx+= dx;
                #{self.cursor}.setAttribute('x',#{self.svg}.app.actual_cursorx)
            }
            var dy= (truncated_cursory - #{self.svg}.app.actual_cursory) / 3.0;
            if ((dy>0.01)||(dy<-0.01)) {
                #{self.svg}.app.actual_cursory+= dy;
                #{self.cursor}.setAttribute('y',#{self.svg}.app.actual_cursory)
            }
             N/A N/A N/A N/A self rdoc startinterval 20 N/A self update_cursor_position N/A dx N/A self dx N/A il N/A N/A self rdoc inline N/A N/A N/A N/A self rdoc begin_block N/A N/A il var inx= #{self.svg}.app.cursory_index*#{self.svg}.app.n+#{self.svg}.app.cursorx_index; N/A N/A il if (inx in #{self.svg}.app.checked) return; N/A N/A il #{self.svg}.app.checked[inx]="o"; N/A c N/A N/A N/A self rdoc element circle N/A N/A N/A c att cx N/A il N/A #{self.svg}.app.cursorx_index*#{self.dx}+ N/A str N/A dx 2 N/A N/A N/A c att cy N/A il N/A #{self.svg}.app.cursory_index*#{self.dx}+ N/A str N/A dx 2 N/A N/A N/A c att r N/A il N/A N/A str N/A dx 2 -9 N/A N/A N/A N/A self svg append c N/A N/A self draw_circle N/A N/A N/A self rdoc jsfunction event N/A N/A N/A N/A N/A self svg events add click N/A self draw_circle N/A N/A N/A N/A self rdoc begin_block N/A N/A il var inx= #{self.svg}.app.cursory_index*#{self.svg}.app.n+#{self.svg}.app.cursorx_index; N/A N/A il if (inx in #{self.svg}.app.checked) return; N/A N/A il #{self.svg}.app.checked[inx]="x"; N/A g N/A N/A N/A self rdoc element g N/A l1 N/A N/A N/A self rdoc element line N/A N/A N/A N/A l1 cls append x N/A N/A il var xl= #{self.svg}.app.cursorx_index*#{self.dx}+7; N/A N/A il var xr= xl+#{self.dx}-14; N/A N/A il var yt= #{self.svg}.app.cursory_index*#{self.dx}+7; N/A N/A il var yb= yt+#{self.dx}-14; N/A N/A N/A l1 att x1 N/A il xl N/A N/A N/A l1 att y1 N/A il yt N/A N/A N/A l1 att x2 N/A il xr N/A N/A N/A l1 att y2 N/A il yb N/A N/A N/A g append l1 N/A l2 N/A N/A N/A self rdoc element line N/A N/A N/A N/A l2 cls append x N/A N/A N/A l2 att x1 N/A il xr N/A N/A N/A l2 att y1 N/A il yt N/A N/A N/A l2 att x2 N/A il xl N/A N/A N/A l2 att y2 N/A il yb N/A N/A N/A g append l2 N/A N/A N/A N/A self svg append g N/A N/A self draw_x N/A N/A N/A self rdoc jsfunction event N/A N/A N/A N/A N/A self svg events add click N/A self draw_x N/A __create_styles N/A N/A self N/A N/A N/A N/A self stylesheet N/A N/A self rdoc stylesheet N/A vn N/A # N/A N/A self svg varname N/A N/A self rule_svg N/A N/A N/A self stylesheet rule vn N/A N/A self rule_lines N/A N/A N/A self stylesheet rule N/A vn  > line N/A N/A self rule_rect N/A N/A N/A self stylesheet rule N/A vn  > rect N/A N/A self rule_circle N/A N/A N/A self stylesheet rule N/A vn  > circle N/A N/A self rule_circle_hover N/A N/A N/A self stylesheet rule N/A vn  > circle:hover N/A N/A self rule_x N/A N/A N/A self stylesheet rule N/A vn  > g > line N/A N/A self rule_x_hover N/A N/A N/A self stylesheet rule N/A vn  > g:hover > line N/A __style N/A N/A self N/A N/A N/A N/A N/A N/A self rule_lines style stroke black strokeWidth 3 N/A N/A N/A N/A self rule_rect style fill grey fillOpacity 0.8 strokeWidth 0 N/A N/A N/A N/A self rule_circle style stroke red fillOpacity 0.0 strokeWidth 5 webkitTransition all 0.3s linear N/A N/A N/A N/A self rule_circle_hover style strokeWidth 15 N/A N/A N/A N/A self rule_x style stroke green strokeWidth 5 webkitTransition all 0.3s linear N/A N/A N/A N/A self rule_x_hover style stroke green strokeWidth 15 N/A N/A