Temple of The Roguelike Forums

Development => Programming => Topic started by: claud9999 on October 08, 2007, 11:00:21 PM

Title: iPhone Rogue-like in JavaScript
Post by: claud9999 on October 08, 2007, 11:00:21 PM
In an effort to have something interesting to do on the iPhone besides listen to Podcasts, and as an advanced JavaScript learning experience, I've decided to start up a Rogue-like game for the iPhone.

No server-side component beyond basic web-hosting; saving is done via a cookie in the browser (even the cookie is a JavaScript snippet!)

I wanted to stay far away from any input requiring the keyboard, and the phone lacks onmousedown/onmouseup/onmouseover events so the controls are basically "click on a square to move/activate/pickup".

The code is coming along fairly well; the levels, monsters, spells, items, etc not so much. I'm releasing the code under a Creative Commons license, so if you're interested in helping out, I'd be happy to have contributors (particularly content developers; perhaps you can write up a nice level editor, or a random level generator?)

Play, comment, criticize, contribute at http://www.hotcat.org/rpg
Title: Re: iPhone Rogue-like in JavaScript
Post by: claud9999 on October 10, 2007, 04:03:08 PM
Ok, so I want to build a random level generator; which open-source game has the best level generation algorithms? I'm probably going to check out Rogue and Nethack, any others you folks can recommend?
Title: Re: iPhone Rogue-like in JavaScript
Post by: beam on October 23, 2007, 04:15:17 PM
The game is pretty neat, but the text is text/message log is hard to read, at least on my monitor (1024x768). Keep it up though

As far as an open-source dungeon generator goes, check out Heroic Adventure! (http://www.codeplex.com/HA). I always thought the dungeons were pretty cool looking. It's in C#, even if you don't know it I'm sure you could make sense of it.
Title: Re: iPhone Rogue-like in JavaScript
Post by: Ex on October 25, 2007, 06:00:44 AM
I think this is absolutely awesome. Good work!