tic-tac-toe See demo at: http://aorgish.github.io/tic-tac-toe/ An example of if-less programming. There are no if,switch,x?a:b statements, all operations are straight.