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,
git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git cd Three.js-TypeScript-Boilerplate git checkout ballgame npm install 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.