mpatric.com

JavaScript

Posted Sat 11 Apr 2020 by Michael Patricios , 0 comments

Quite a while back there was a xkcd post showing the complete map of optimal tic-tac-toe moves. Ever since seeing it I've wanted to create an interactive version of this that would show a visualisation of the game tree for each possible move, and here it is! You can try it online or check out the source code repository. It runs in a web browser and the code is TypeScript.

Tic-tac-toe-ception screenshot

Updated Sun 02 Sep 2012 by Michael Patricios , 0 comments

I recently built a simple retro snake game in javascript, with the game rendered on an HTML canvas and hi-scores in HTML local storage. You can play it online, or grab the source from github.

Canvas snake screenshot

Update: I've written a CoffeeScript version too, the source is on github.

Page 1 of 1