Taipan! on the Arduino(s). Part 9 – Finished!

July 31st, 2012

I finally finished Taipan! on the Arduino. Well, two Arduinos. Since most people won’t read the other 8(!) rambling posts on the project below is a film and a brief summary.

IMG_2734_1 IMG_2728_1 IMG_2730_1

IMG_2731_1 IMG_2733_1 IMG_2695_1

Here is a film of it in action.

The original aim was to take the original Apple 2 version of Taipan! and port it to run on an Arduino Duemilanove. Yes, I could have used a Mega or a Raspberry Pi or any number of other things but to get it working on a normal Arduino was the challenge (and it flaming was).

Turned out to not be possible. In the end I had to use two! One runs the game and the other runs the display using the Arduino TV-Out library. Due to memory constraints all the strings are stored on an external EEPROM chip read via I2C. The comms between the two Arduinos is done over serial using customer commands. The keypad is custom made and functions to allow entering letters and numbers. I am using a resistor voltage divider hooked to the keys so the keypad only uses one analogue input. Output from the TV-Out library is fed to a small LCD screen and also to a RCA socket so it can be displayed on an external video monitor. The library also allows sounds so the original game sounds were manually recreated.

Gameplay is exactly like the original Apple 2 version, right down to the ‘bugs’. I did need to rearrange the screens somewhat due to a smaller resolution than the original version but all the information is present and all the strings are exactly as in the original (with the exception of minor changes).

The whole game is contained inside a housing made from a hard cover copy of the original Tai-Pan book (first edition too)! It contains 8 AA Ni-MH cells to power both the screen and the Arduinos. A recharging socket is included on the main panel.

The main code was a port of the original Apple Basic code as well as Jay Link’s C version.

My source code can be downloaded here.

There are three sketches for Arduino version 1.0.1 – taipan50 (the main game), taipandisplay10 (the display unit) and StringWriter10 (used to program the EEPROM with all the strings). I don’t expect anyone to try to build one of these so the source code is given here as is for people to do what they want with it. Sizes are as follows:

Taipan main game: Binary sketch size: 31,522 bytes (of a 32,256 byte maximum)
Taipan display: Binary sketch size: 15,524 bytes (of a 32,256 byte maximum)
String writer: Binary sketch size: 11,276 bytes (of a 32,256 byte maximum)

Most of the details can be found in the other posts on this project.

IMG_0358_1 IMG_0360_1 IMG_0362_1

 

10 Responses to “Taipan! on the Arduino(s). Part 9 – Finished!”

  1. The Completed “Taipan” Arduino Game « freetronicsblog Says:

    […] and also sharing it with us in great detail. To follow his epic design story, check out his website here. And we’re on twitter and Google+, so follow us for news and […]

  2. Arduino Taipan! clone stays true to the original - Hack a Day Says:

    […] Fans of vintage Apple ][ and TRS-80 games will undoubtedly recognize the image above in short order. Taipan! was a popular game in its time, and [Simon] decided it was a great title to try recreating with an Arduino. […]

  3. Arduino Taipan! clone stays true to the original | How to Says:

    […] Fans of vintage Apple ][ and TRS-80 games will undoubtedly recognize the image above in short order. Taipan! was a popular game in its time, and [Simon] decided it was a great title to try recreating with an Arduino. […]

  4. Arduino Taipan! clone stays true to the original | Orange Claymore Red Slime Says:

    […] Fans of vintage Apple ][ and TRS-80 games will undoubtedly recognize the image above in short order. Taipan! was a popular game in its time, and [Simon] decided it was a great title to try recreating with an Arduino. […]

  5. Taipan! on the Arduino « adafruit industries blog Says:

    […] ATaipan! on the Arduino via HaD. Simon writes – The original aim was to take the original Apple 2 version of Taipan! and port it to run on an Arduino Duemilanove. Yes, I could have used a Mega or a Raspberry Pi or any number of other things but to get it working on a normal Arduino was the challenge (and it flaming was). […]

  6. Arduino Taipan! clone stays true to the original Says:

    […] Fans of vintage Apple ][ and TRS-80 games will undoubtedly recognize the image above in short order. Taipan! was a popular game in its time, and [Simon] decided it was a great title to try recreating with an Arduino. […]

  7. Dennis Says:

    Congrats on the build and thanks for the memories. I had forgotten all about this game.

  8. MAKE | Arduino Taipan Says:

    […] the Asciimation site on a tip from epic NZ maker Simon Jansen when I came across this charming port of the classic Apple II game Taipan. Jansen managed to cram a couple of Arduinos, some batteries, a custom keypad, and a screen into a […]

  9. ○DIY/Tip▶ Arduino Taipan « dot dot dob tob tob Says:

    […] the Asciimation site on a tip from epic NZ maker Simon Jansen when I came across this charming port of the classic Apple II game Taipan. Jansen managed to cram a couple of Arduinos, some batteries, a custom keypad, and a screen into a […]

  10. Arduino Taipan Says:

    […] the Asciimation site on a tip from epic NZ maker Simon Jansen when I came across this charming port of the classic Apple II game Taipan. Jansen managed to cram a couple of Arduinos, some batteries, a custom keypad, and a screen into a […]

Leave a Reply