Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
dat
 
 
doc
 
 
 
 
src
 
 
sys
 
 
 
 
web
 
 
win
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

BrowserHack

NetHack ported to the Web by Lu Wang

Play on Kongregate

Play on GitHub

Screenshots

Screenshot Screenshot2 Screenshot3

Most porting stuffs go to win/web/* and web/*.

To build the project, read and modify build.sh according to your environment, install dependencies, and use some good luck.

Only minimum features are supported while I'm rushing to make it work, but more features are coming. Search for TODO in win/web/* and web/*.

Need help for game testing, implementing more features and designing the interface.

Tilesets

How to use number pad for movements?

Press O and set number_pad to 1. Make sure that NumLock is on. You can make this permanent by setting it in options (the cog icon in the top-right corner), then reload the game.

How to apply my tileset?

Run this in your browser console: nethack.apply_tilset(tile_file_url, tile_width, tile_height);

Where is my favorite ASCII interface?

As a player of SuperZZT, yeah, I agree that ASCII is definitely important. But it might worth a separate port. Even if the characters are implemented as a special type of tilesets, you may not get the smooth input experience.

Checkout nethack.alt.org (aka NAO) where you can play the ASCII version online.