This is the classic tic-tac-toe game that served as a coding exercise in our very entertaining programming class at TCD. It's done using the JavaScript version of Processing which is a drawing library. The program switches turn randomly between the user and the machine at the start. The point was mainly to meet a new kind of web-based graphical interface.