Monday, February 9, 2009

NetHack Online GUI

One of the projects I'm currently working on is a graphical interface for the game NetHack for NetHack.Alt.Org (a.k.a NAO) telnet server. My aim was to create a telnet interpreter between the server and the client so player can play with graphical tiles over the classical ASCII mode :). Some of the diehard NetHack ASCII fans say its blasphemy but I think its cool ;).

In my venture I learned lots about telnet (which you can read more about here) and Windows C# programming, and flexed some threading knowledge.

  1. Correctly interpreting terminal controls
  2. Converting the ASCII codes to the NetHack tiles, and doing so efficiently.
  3. Correctly interpreting in game menus


Source code
Screen shots

If anyone knows how to solve some of the issues (mostly the 2nd issue) please leave a comment :)


  1. i was thinking about this same thing, i think since the look command : doesnt affect gameplay it should be possible to call look repeatedly transparently to the user to display the correct tile for a given item. not sure waht this will do to over the wire performance though.

  2. would probly create some lag.. if not make it look like a bot is playing lol.. (we had a nethack bot that constantly used look to identify everything)

  3. and as far as issue 2 is conserned im not completely sure but maybe as acsii charcaters are recvived check what tile goes to it and then display that tile but thats just a tired half crazy answer lol havent looked at the source