7DRL Success: Rook

106 views
Skip to first unread message

Joshua Day

unread,
Mar 13, 2011, 11:49:23 AM3/13/11
to
168 hours (and a few minutes for the write-up) after starting work on
Rook, a roguelike with checkmate, the game is playable. It is often
even fun.

The game is written in C and ncurses, with a strange modular style
based around externing structs from each compilation unit. Experiments
in code style ate up a lot of the first few days. Getting checkmate
working right took another. Map generation (such as it is), field
of view, items, and enemy AI all happened today. It's a strange
way to approach a game. It feels good to finish something, for once.

As long as you're wearing the orb of the Turk, you can't die a stupid
death -- unless every possible move would kill you, you don't die. If
you take it off, you're playing a traditional roguelike. The ring of
vulnerability will save you from losing any hitpoints, because every
hit you take will kill you, which is forbidden by the orb. Along the
way you'll find potions of healing and scrolls of teleport, opium sots,
drunkards, hounds, and the royal couple themselves, out for a stroll in
the woods. Apparently they're bad guys. Probably tyrants, or
something.

Kill them, especially the King.

The only feature the game desperately needs that I didn't have time
to add is e'x'amine. I don't want the player to have to guess at
arcane rules while playing. There's a memory leak in there, too, so
the game will eat up a meg or two by the time you beat it. Hope your
rig is up to it.

Download the linux binary and source here:
http://7drl.org/wp-content/uploads/2011/03/rook.tar.gz

And read the 7drl.org victory write-up, which is word-for-word identical
with parts of this one, at:
http://7drl.org/2011/03/13/rook-7drl-success/

Congratulations to everyone who made an honest stab at making one of
these, this year or in years past. It's quite an event to take part in.

--
Joshua Day

Darren Grey

unread,
Mar 13, 2011, 6:55:46 PM3/13/11
to

I'm very curious to play this - any chance of a windows compilation
coming out?

--
Darren Grey

Joshua Day

unread,
Mar 15, 2011, 1:27:13 AM3/15/11
to
Darren Grey wrote:
> On Mar 13, 3:49 pm, Joshua Day<josh....@gmail.com> wrote:
>> 168 hours (and a few minutes for the write-up) after starting work on
>> Rook, a roguelike with checkmate, the game is playable. It is often
>> even fun.
>>
>> [...]

>>
>> Download the linux binary and source here:http://7drl.org/wp-content/uploads/2011/03/rook.tar.gz
>
> I'm very curious to play this - any chance of a windows compilation
> coming out?

Just set up Code::Blocks on a netbook. There is a known bug having to
do with items -- sometimes you can't pick them up -- and a related risk
of teleporting off the map with the scroll of teleport, but both are
minor. They have been fixed in my dev version, but the windows binary
is the pure 7drl.

http://7drl.org/wp-content/uploads/2011/03/rook-7drl.zip

--
Joshua Day

Joshua Day

unread,
Mar 25, 2011, 2:44:06 AM3/25/11
to
I wrote:
> ... There is a known bug having to

> do with items -- sometimes you can't pick them up -- and a related risk
> of teleporting off the map with the scroll of teleport, but both are
> minor. They have been fixed in my dev version, but the windows binary
> is the pure 7drl.

The first post-7drl release is out today. So is a bugfix version. If
you're judging 7DRLs as 7DRLs, you want the bugfix version. If you
don't mind a few small gameplay changes (like being allowed to drop
items or being able to see what would have happened after you are put
in checkmate), then get the post-7DRL version.

Bugfix source and 32-bit Linux Binary:
http://7drl.org/wp-content/uploads/2011/03/rook-bugfix.tar.gz

Windows Bugfix Binary:
http://7drl.org/wp-content/uploads/2011/03/rook-bugfix.zip

Post-7DRL source and 32-bit Linux Binary:
http://7drl.org/wp-content/uploads/2011/03/rook.101.tar.gz

Windows Post-7DRL Binary:
content/uploads/2011/03/rook-bugfix.zip


Thanks for the feedback, all who have given it!

--
Joshua Day

Reply all
Reply to author
Forward
0 new messages