This is my first open source game built with BabylonJS, and I hope it can help you. The code was made following the Clean Code principle to be more simple and concise.
The game is an “Endless Runner”, and firstly I started to make it for selling the code on “CodeConyon” (I sell other items there), but I decided to make it open source and start a game series for learning and hobby.
I want to make 3D games and applications for learning more about 3D programming and share the process on repositories.
Link to Play: https://cube-endless-runner.herokuapp.com/