Greg Hewgill (ghewgill) wrote,
Greg Hewgill


Many years ago (november 1997 to be exact), I was home sick from work for a few days, and decided to experiment with some of the new browser-side scripting capabilities that were on the leading edge of browser technology at the time. My project was to implement a game of Othello (or Reversi, also known as many other names) entirely in the browser.

I did this by implementing an Othello playing engine in Java, then loaded that applet into a web page and called methods in it using JavaScript embedded in the page. This worked pretty well; all browsers of that time eagerly supported Java applets without complaint. Because Internet Explorer was the foremost browser at the time, I also used a Microsoft ActiveX control to display an animated "genie" (similar to the infamous "Clippy" paperclip in Office), which did speech synthesis and recognition.

Times have changed, and today ActiveX controls are all but dead and Java applets are no longer acceptable for implementing client-side logic. With modern browsers not even including Java by default, my Othello page sat broken and neglected under the tide of progress.

After eight years of ignoring the problem, I finally decided to rework my Othello game implementation. The new version uses only Javascript (no Java applets), and should work in all modern browsers (I've tested it in Firefox, IE, Opera, and Safari). In the interest of standards compliance, the page also validates as XHTML 1.0 Strict.

Othello Game

Let me know if you have any trouble using this in your browser!
Tags: web

  • ljdump 1.1 - now supports comments

    I have updated ljdump so that it now supports downloading all journal comments. Comments are downloaded incrementally, just like journal entries, so…

  • livejournal backup copy online

    One of the reasons I wrote ljdump was to use the backup copy to generate a simple HTML presentation of my journal directly on my web site. This is…

  • livejournal backup copy

    Ever since I started using livejournal, it's annoyed me that the content I write is stored on somebody else's server. It's not that I don't have…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded