Hi there! From my own experience, HTML5 isn't the best platform for a roguelike with ASCII art. A graphical one, maybe, but even so you're better off making your game for the Linux/Mac console. Or the Windows console.
Just out of curiosity, what do you need a server-side component for? A public scoreboard?