[Journal]Defend the Castle

Excelent idea of the tiny game contest, so here is my first entry still WIP

Defend The Castle, is an original game I played in half of a chess board; I called it “Save the King”, for the pieces used to play (king & pawns)

Play the Game here

In the list of TODO are:

  • better AI for the enemy
  • check for losing conditions
  • add score/stage data in the right side HUD
  • maybe add upgrades for the defenders, because the game is winnable only until 4/5 enemies

Edit: Updated TODO.

I get horrible flickering; are you double-buffering your graphics?

Overall, seems nice, but while I know how to win each level, it doesn’t tell me how I lose. The attacking pieces seem to shy away from my castle at the last moment, so I’m not sure if they’re trying to move an attacker onto my castle, or what?

Oops… Why in my PC this doesn’t happen!
Added buffering.

The current AI tries to get to the last row, it doesn’t look for the castle. ::slight_smile:
Also, I didn’t put the lose condition. to my TODO list

Hello RDCarvallo,

Ran on all:
Acer Aspire 5740, Windows 7 , Internet Explorer, jdk1.6.0_20
Mac Mini, Snow Leopard OS X, Safari, jdk 1.6.0_20
Suse 10 (Virtual Machine), firefox 2.0.0.14, jdk 1.6.0_19
HP Compaq 6820, Fedora 8, Firefox 2.0.0.10, jdk 1.6.0_04

This is screaming : MULTIPLAYER

Feel free to just ignore this alltogether, but I just got all excited about it:
It would be really cool if you could play this against a live person
who has the same amount of defenders but we need to defend multiple
targets. Each time you occupy a space next to a tower you get points,
but your offender-piece must move each time. Maybe have multiple
offenders as well … Each turn you need to move one defender and
one offender.
Maybe you need to have a larger board you can scroll through to watch
all your ‘bases’.

Best regards from

M.E.