That would have to be entirely made with javascript. Nothing preventing contestants with using chatgpt to generate chunks of javascript to use in their game, also there is the in-engine AI which they can use as well (Whether this is good or bad, up to you).
I'm honestly less concerned about AI code, and more about AI art assets.