Don’t try to intentionally complicate something that works. It often happens that people intentionally complicate something that works perfectly and waste precious time. No need to reinvent the wheel. For a jam, at least a basic implementation of the mechanics is enough. In my first jam, I made such a mistake and did not have time to submit the game.
Also, design the game page before publishing it, so as not to waste time on it.
If the game is not very demanding on system resources, it is best to place it in WebGL. This way more people will play the game.