Dao
Running
npm run start- Navigate to
http://localhost:3000/
Debugging
npm run start- Run
Launch Chrome against localhostdebug task in VSCode
Gitlab Pages
GitLab Pages are setup using .gitlab-ci.yml. There are pages for each branch.
The format of the page url is https://fuzzy-rp.gitlab.io/dao-game/BRANCH_NAME/, for example https://fuzzy-rp.gitlab.io/dao-game/main/ for the main branch commits.
- main branch: https://fuzzy-rp.gitlab.io/dao-game/main/
- multiplayer-scratch branch: https://fuzzy-rp.gitlab.io/dao-game/multiplayer-scratch/
Esbuild
This project is using esbuild for creating a bundle.
Todos
- Add video chat
- Convert to React
- Publish versions of all branches
- Add computer opponent using simple minimax logic.
- https://www.neverstopbuilding.com/blog/minimax
- https://en.wikipedia.org/wiki/Minimax
- Add live reload support
- https://how-to.dev/how-to-add-live-reload-to-esbuild-server