Skip to content

Trex Runner Game Remake with javascript module structure

Notifications You must be signed in to change notification settings

lwz7512/trex-runner-js

Repository files navigation

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

About

Trex Runner Game Remake with javascript module structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published