Jump to content

Original Centipede arcade game translated to JavaScript


norbert_kehrer
 Share

Recommended Posts

Hi,

 

like before with Asteroids and Astro Fighter, I made an automatized port of the original arcade game Centipede to JavaScript (with the HTML5 Canvas element). Centipede was written back in 1980 by Atari Inc.

 

My JavaScript version was again created by applying the method of static binary translation to the original binary program code. The program code originally written in the machine language of the 6502 CPU of the Centipede machine was converted in a one-to-one manner to JavaScript. The translation was automized by a Prolog program, which generates semantically equivalent JavaScript code for each 6502 instruction and applies some optimization techniques to the generated program (e.g., removal of redundant flag calculations). The outcome is an exact simulation of the original arcade game.

 

Here is the link to the game: http://members.aon.at/nkehrer/centipede_js.html

 

And here is a screenshot:

 

centipede_js.jpg

 

Have fun!

 

Norbert

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...