Agreed. JavaScript or Java would be better suited for handling the game more quickly and in a more graphically pleasing fashion. I guess the stats I want to collect and my preference for Perl led me to a CGI solution. I could store information the game history in a JavaScript array or variable and then pass that along on game completion to a server side script for permanent storage and later analysis.