Author Topic: iPhone JavaScript  (Read 3215 times)


  • Newcomer
  • Posts: 1
  • Karma: +0/-0
    • View Profile
iPhone JavaScript
« on: January 28, 2015, 05:02:17 AM »
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?)
Sign up with learning spanish ccna for getting incredible online courses exam and lynn


  • Creator of Roguetemple
  • Administrator
  • Rogueliker
  • *****
  • Posts: 1201
  • Karma: +4/-1
    • View Profile
    • Email
Re: iPhone JavaScript
« Reply #1 on: February 17, 2015, 06:21:49 PM »
Good luck!