Sort:  

I'm using RPG Maker MV, which uses JavaScript as a scripting language and publishes games as HTML5. So I code the site in PHP and then code it so that the site sends and receive commands to and from the game via JavaScript.

That is super interesting, I have to say well done. Looking forward to play test it 😁