fuzzyworld

dao-game / files / tools / esbuild.ts

esbuild.ts

Commits that changed this file, newest first · file

2022-03-215648264Removed snackbar HTML and instead the snackbar is being added automatically. Other changes: - slight refactors - changed a class to an interface - added code to clean up out directory when buildingPavel Safronov
2022-03-215805825Starting to think more about the HTML format of the site, so adding a landing page and separate pages for local and remote games. Added the concept of player name, which is distinct from player id. Mostly used for reporting terminal conditions. Altered how the mouse position information is calculated and used. Now a relative (ratio) position is sent to the other peer. Using a test board for this work, will need to undo that before merging to main. Localized all esbuild settings in a single spot, so now only 1 file needs to be updated, and then all build paths will be updated.Pavel Safronov
2022-03-20f2c9406Experimenting with multiple entry points, getting remote play mostly working, trying to get pages working for all branches.Pavel Safronov
2022-03-164918da4Moved most of the game logic into its own class. Implemented basic online game as an extension of the base game. Seems to work. Next step: add peer support.Pavel Safronov
2022-03-04fc22272Some esbuild-related changes: - reorganized files/dirs, we now have a public dir and the created bundle goes there - using ts-node for running tools, so the tools can be written in TS - added launch.json configuration that starts the server, then navigates to it with a debug browser - TS debugging seems to work without issues with this setupPavel Safronov