a pirate-themed roguelike in javascript