refactored the original t-rex-runner to a modulized structure!
that means using separate class files instead of putting every plain functions into a single big js file!
@2024/04/21
just add type='module'
attribute to your sccript tag like this:
<script type="module" src="index.js"></script>
Make sure Node.js environment installed beforhand, then open terminal input:
npm install
npm start
open browser to visit:
locahost:3000
Have fun!
- first release at 2024/04/26