/robbo-1

Old school Atari games Robbo and Robbo Constructor resurected in a browser with power of CoffeeScript.

Primary LanguageJavaScriptThe UnlicenseUnlicense

Robbo

Old school Atari games Robbo and Robbo Constructor resurrected in a browser with the power of CoffeeScript. The orginal game was created by Janusz Pelc for 8-bit Atari computer. Published by Laboratorium Komputerowe Avalan in 1989 (Robbo Constructor 1990).

You can play this game here: robbo.belczyk.com

Task board: Robbo tasks board on trello

I recreated this game using CoffeScript as a part of my CoffeeScript training. The first version of the game was simply an exercise and demo presenting power of CoffeeScript class system. Once I discovered how much fun I get building it I've continued work on the game as my pet project.

Main things I'm exploring:

  • Mixins (most of the generic behaviours like "it can be moved", "it can be collected", "it kills you" are mixins so I can create new objects quite fast).
  • JavaScript tests. unit_tests.html runs all tests written for this game.
  • Messaging in JavaScript (more like in UI altogether).
  • Bits of HTML5 (for example for playing sounds).

Game is designed as stand-alone HTML page. It means you can just checkout this repository and open game/robbo.html and play my last definition of levels.

Levels and games are stored in game/config/universe.js. You can use Robbo Constructor to edit games and planets.

ScreenShot

Robbo Constructor

Robbo Constructor allows to build games and planets for Robbo. As it's also stand-alone HTML page there is a need for server which will save file on page request. For that reason there is game/Robbo Constructor Server.exe. When you run this program it will open robbo_constructor.htm and also console application which is a self-hosted WebAPI.

ScreenShot