All engines are allowed as long as they meet the rules. From the FAQ:
- What engine or programming language should the game be made in? Any engine or programming language is allowed. Jam games which are playable on the website are played more often, so you might want to make sure your engine outputs HTML5, but it's not a requirement.