There's no collision for the walls? Makes it kinda pointless.
Oh, there should be. This is my first time using the framework I chose, you might be hitting a bug 😱
I tried it again and there's definitely no collision when playing in Firefox (version 103.0.2).
It works fine in Chrome and MS Edge though so maybe it's browser specific.