News for hackers. Stuff that matters.
Re:BrowserHack: NetHack ported to the web by myfonj on Sunday April 12, 2015 @09:37PM (#9365511)
Ad funny hack with ASCII tileset: I googled for some `NetHack ASCII tileset` and found [1], made userstyle [2] that uses this picture and it works seemingly well [3]. So I suppose there will some "true console-looking" tileset soon.

[1] http://geoduck42.deviantart.com/art/Geoduck-NetHack-Tiles-40...

[2] https://userstyles.org/styles/112589/browserhack-geoduck42-t...

[3] http://static.userstyles.org/style_screenshots/112589_after.... This certain sprite seems nice in original, but I had to transform it from 20×40 to 32×32, because re-positioning would be overkill (Haven't found any 32×32 alternative) I just wanted to try such proof-of concept…

Re:BrowserHack: NetHack ported to the web by coolwanglu on Sunday April 12, 2015 @11:32PM (#9365836)
Try typing this in the browser console (might need to reload the game first)

nethack.apply_tileset('http://cook.web.eschelon.com/pictures/geoduck20x12.bmp', 12, 20)

I felt that a complete ASCII port worth a separate project, yet it might not be that interesting as we've already got NAO.

But if you guys feel that a ASCII tileset is ok, I'm happy to add it. How about this smaller version?

Re:BrowserHack: NetHack ported to the web by myfonj on Friday April 17, 2015 @10:17AM (#9394415)
Pretty neat! And I see you have included that tileset natively. I think that making "pure ASCII image-less tileset" should be piece of cake as well:

  .tile:after {
    display: block;
    text-align: center;
    font: bold 30px/30px monospace;
  }
  .tile158:after {
    content: '@';
    color: yellow;
  }