jsrl
JavaScript Roguelike Template - A basic TypeScript roguelike you can build upon to create your own

What is this?
JSRL is a bare-bones roguelike featuring both tiles and character-based displays. It can be played via a web browser or as a native app for Windows, Mac, and Linux.
Check out the online demo at: https://slashie.net/jsrl
You can use this simple skeleton game as a starting point for your full-fledged roguelike, by building on top of it and taking advantage of its features:
- Walk around using the keyboard
- Raycasting Field of View algorithm
- Movement between persistent levels
- Enemies moving around chasing the player
- An action system including actions to pick up, drop, and use items
- Memory of visited areas.
- Infrastructure for Level Generation
- Line wrap text boxes
Development philosophy
The unique goal of JSRL is to provide an advanced "starting point" for your project and then NOT get in your way. That is why it isn't structured as an engine whose abstractions you have to learn in order to build upon it, but rather as a small set of classes and objects that you will very likely progressively replace with your own.
JSRL-based projects are completely detached from the JSRL template; once you start developing your project you are on your own. In other words, the main thing you have to understand is that JSRL is just a sample roguelike.
The development of JSRL is driven by developers optionally back-porting the improvements made while developing their own games into it; contributions are cherry-picked for JSRL to remain as simple as possible while providing future developers with added utilities for their games. (An example is the addition of automatic viewport scaling).
As you can see in the JSRL demo, you will get quite a boost with tile-based display, keyboard-based movement, level handling, a turns system controlling the sequence of the actions of simulated world populators, and a simple inventory.