dao-game / files / tools / esbuild-build-and-serve.ts
esbuild-build-and-serve.ts
| 2022-03-21 | 5648264 | Removed 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 building | Pavel Safronov |
| 2022-03-21 | 5805825 | Starting 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-20 | f2c9406 | Experimenting with multiple entry points, getting remote play mostly working, trying to get pages working for all branches. | Pavel Safronov |
| 2022-03-20 | 9e15724 | Multiplayer mostly working. | Pavel Safronov |
| 2022-03-16 | 4918da4 | Moved 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-04 | fc22272 | Some 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 setup | Pavel Safronov |