Bootstrap project for JS/TS based in-browser game prototyping playground, similar to previous ActionScript/Starling pair.
Target best practices of modern web and game development (to the reasonable extent) but favor simplicity.
Sub-goal - evaluate usefulness of current gen coding assistants in this application.
See the documentation dir and milestones plan for further information.
- Typescript and whatever modern module system there is
- Bundler (Vite)
- Tests (Jest)
- Monorepo but separate library & project for modularity
- CI integration
Obtain and setup Node.JS & npm
There is different ways for each platform and respective package manager, probably something along the lines:- Windows / WinGet
winget install node.js - Windows / Choco:
choco install nodejs - Windows / Scoop:
scoop install nodejs - Windows Standalone installer: https://nodejs.org/en/download/
- MacOS / brew:
brew install node - Linux - You guys probaly already know what to do
Don't forget to refresh environment if required then check that npm can be invoked:
npm -vThen perform initial npm package installation in the project and run npm start to actually perform a build and launch server
> cd <project-directory>
> npm install
> npm dev
# Local: http://localhost:8888/Voila!
