An rpg web app in php and typescript