Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
(+1)

Wow!  This is surprisingly addictive.  I haven't gotten too far, but diagonal movement is definitely key here.  I'm interested in the pathfinding mechanics.  It looks like the player path to the exit is pretty straightforward, but how are you determining the other characters?  Is it based upon where they start in the level?

My high score: 38 points after 8 races.

Thank you for playing my game and providing your score! :-)

I just created a High-Score-Table in my game-description and added your name to it.

The pathfinding of the navigation system as well as that of all the opponents is done with the A* algorithm of rot.js using a topology of 4, which allows only orthagonal movement. So if the player just strictly follows his navigation system, he will not be able to overtake anyone. 

But you are right, the diversity of the paths is mainly achieved by a variation of the starting locations of all characters. The player always starts at the very west of the level (y-coordinate is randomized).  Runner H starts a few steps to the east compared to the player (y-coordinate is also randomized) giving him a small advantage since the goal is always in the very east of the level (y-coordinate is also randomized). Runner G starts a even more in the east and so on. So the runner with the best starting position should be runner A in most cases. Since the dungeon and the y-positions are all randomized the starting position of player A is not always the best and that of the player is not always the worst, it is just a tendency.

Another mechanism to achieve route-diversity is confusion. Runners get sometimes confused if others in front of them are using the same path. In this case a new path is calculated trying to avoid the paths of the runners in front of the confused runner.

RunToTheStairs got a new feature - the player may now dig tunnels!
For this purpose a new collectible item called "drill" was introduced which enables the player to remove one wall element by bumping into it. 
The possibility of digging allows the player to take greater risks when taking alternative routes, since this will enable him to rescue himself by spending some resources (drills) if his route decision turns out to be wrong.
Please check out the commented High-Score-Table on the games itch.io-page! Meanwhile there are more than 25 entries in this table (5 of them by youtubers). So please consider to give RunToTheStairs a go and see how high you can climb on this table. ;-)

RunToTheStairs now plays music!
The music was composed by Dekkanoid. I am absolutely blasted by what this amazing guy created in just few hours!
You are invited to play a session RunToTheStairs and enjoy the new music!

(2 edits)

RunToTheStairs now uses a graphical tileset and looks much better. The only problem is that it requires WebGL 2.0 which is not supported by all browsers yet. I would be pleased if you could test if it runs on your system. Please name your operating system and browser. Thank you! :-)
If it does not run at your system you can still play the ASCII-only-version of RunToTheStairs.