This whole project that was uploaded in this last section on Deploying to Production, can be forked or cloned from GitHub.
Actually, I have many branches on that repository you might also like to try.
To download the ballgame branch,
1 2 3 4 5 6 7 8 9 10 11
git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git cd Three.js-TypeScript-Boilerplate git checkout ballgame npm install npm install -g typescript npm run dev
Open your browser and visit http://127.0.0.1:3000
You can improve this project by modifying it anyway you wish to make it into a game that you or other people may enjoy to play.