How difficult it is without three.js

I started making a simple 2D game just to practice JavaScript. I’ve done a lot of complex things with three.js, but this time I tried to do something without three.js, and even with the help of ChatGPT, it’s difficult.Good thing there’s three.js.

https://codepen.io/didisoftwares/pen/qEEGPZb
or
Test

3 Likes