Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 811 Bytes

README.md

File metadata and controls

41 lines (22 loc) · 811 Bytes

demo-screenshot

t-rex-runner refactored

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

To use moduler javascript application:

just add type='module' attribute to your sccript tag like this:

<script type="module" src="index.js"></script>

How to run this game in your local machine

Make sure Node.js environment installed beforhand, then open terminal input:

npm install
npm start

open browser to visit:

locahost:3000

Have fun!

Release History

  • first release at 2024/04/26