I'm trying to set up a dynamic minigame library and I'd like to know if anybody has some suggestions for how to get initial data into the game. I understand php and working with the AJAX object, but how can I get the minigame.id from my database to send with the request without having to hard-code it into the game?
It would be nice if we could pass vars in through html, but I don't see any options for this.
Has anybody else done this?