Based on the rules, this are the requirements the game must have:
-Run in browser
-Code easy to understand
As for the open source part, RPG maker may cost money but anyone can make plugins and customize it in any way. Does that count as "Open source" or should I use something like Unity instead?