fuzzyworld

dao-game / react-multiplayer / files / readme.md

Branch react-multiplayer · default branch · all branches

readme.md

Blame: the commit that last changed each line · file · history

d30eefdb 2022-02-27 Pavel Safronov1# Dao
2
3## Running
4
fc222723 2022-03-05 Pavel Safronov51. `npm run start`
0f7e0e22 2022-03-21 Pavel Safronov62. Navigate to [`http://localhost:3000/`](http://localhost:3000/)
d30eefdb 2022-02-27 Pavel Safronov7
cda3e92d 2022-03-11 Pavel Safronov8## Debugging
9
101. `npm run start`
112. Run `Launch Chrome against localhost` debug task in VSCode
12
d30eefdb 2022-02-27 Pavel Safronov13## Gitlab Pages
14
f94ff8ff 2022-03-22 Pavel Safronov15GitLab Pages are setup using [.gitlab-ci.yml](.gitlab-ci.yml). There are pages for each branch.
16The 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.
17
18- main branch: [https://fuzzy-rp.gitlab.io/dao-game/main/](https://fuzzy-rp.gitlab.io/dao-game/main/)
19- multiplayer-scratch branch: [https://fuzzy-rp.gitlab.io/dao-game/multiplayer-scratch/](https://fuzzy-rp.gitlab.io/dao-game/multiplayer-scratch/)
ac5892e9 2022-02-27 Pavel Safronov20
711f34cd 2022-03-04 Pavel Safronov21## Esbuild
22
23This project is using [esbuild](https://esbuild.github.io/getting-started/#build-scripts) for creating a bundle.
24
ac5892e9 2022-02-27 Pavel Safronov25## Todos
26
7ccadf97 2022-03-22 Pavel Safronov271. Add video chat
282. Convert to React
293. Publish versions of all branches
304. Add computer opponent using simple minimax logic.
31 1. [https://www.neverstopbuilding.com/blog/minimax](https://www.neverstopbuilding.com/blog/minimax)
32 2. [https://en.wikipedia.org/wiki/Minimax](https://en.wikipedia.org/wiki/Minimax)
417dc266 2022-03-23 Pavel Safronov335. Add live reload support
34 1. [https://how-to.dev/how-to-add-live-reload-to-esbuild-server](https://how-to.dev/how-to-add-live-reload-to-esbuild-server)