Wednesday, March 24, 2010

Moving!

From now on, JAKE updates are going to be placed on www.frasermckay.co.uk. All older posts have been archived there too.

Thursday, March 18, 2010

Two simple programs (video)

These videos show the creation of two simple Java robot programs in JAKE, based on an earlier blog entry about creating control events.

The robot/wall graphics are a little choppy, but that seems to be something to do with mixing Java and the screen-capture software.

Adding events

A big part of JAKE (Java Karel with Events) is that it adds an understandable event model to the Karel mini-paradigm. We know that there are problems with Java's event model [1], and that's part of what JAKE is meant to address. The idea is that the programmer, once they've set up their world, creates event buttons, methods of the control panel.

Adding an event is done with the "Add..." button. This adds a new button to the control panel.


Monday, March 15, 2010

Minor updates this week

As well as the new world editor, there have been some other small updates to JAKE this week.

Firstly, the graphics have been improved slightly in the JAKE Java library, so that there's no longer the same stretching and pixelating as before. The wall and beeper icons are now crisper. You can see this in one of the screenshots for the world editor, when compared to a scenario from a few weeks ago:

Setting up "situations"

Karel programs are built on "situations". Similarly, Greenfoot programs use pre-built scenarios. So JAKE programs, also, use Pattis's situation model.