naughts.pl is a simple demonstration of how easy it is to write basic games using Perl and cookies.
The game in question is Naughts and Crosses known to others as Tic Tac Toe. The AI gameplay for the computer is not really intelligent at all and just relies on psuedo-random numbers.
You can play Naughts and Crosses online by clicking here - note, this will open in a new window, and computer goes first!
You can download the Perl source here. Enjoy!