dao-game / react-multiplayer / files / readme.md
Branch react-multiplayer · default branch · all branches
readme.md
d30eefdb 2022-02-27 Pavel Safronov | 1 | # Dao |
| 2 | ||
| 3 | ## Running | |
| 4 | ||
fc222723 2022-03-05 Pavel Safronov | 5 | 1. `npm run start` |
0f7e0e22 2022-03-21 Pavel Safronov | 6 | 2. Navigate to [`http://localhost:3000/`](http://localhost:3000/) |
d30eefdb 2022-02-27 Pavel Safronov | 7 | |
cda3e92d 2022-03-11 Pavel Safronov | 8 | ## Debugging |
| 9 | ||
| 10 | 1. `npm run start` | |
| 11 | 2. Run `Launch Chrome against localhost` debug task in VSCode | |
| 12 | ||
d30eefdb 2022-02-27 Pavel Safronov | 13 | ## Gitlab Pages |
| 14 | ||
f94ff8ff 2022-03-22 Pavel Safronov | 15 | GitLab Pages are setup using [.gitlab-ci.yml](.gitlab-ci.yml). There are pages for each branch. |
| 16 | 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. | |
| 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 Safronov | 20 | |
711f34cd 2022-03-04 Pavel Safronov | 21 | ## Esbuild |
| 22 | ||
| 23 | This project is using [esbuild](https://esbuild.github.io/getting-started/#build-scripts) for creating a bundle. | |
| 24 | ||
ac5892e9 2022-02-27 Pavel Safronov | 25 | ## Todos |
| 26 | ||
7ccadf97 2022-03-22 Pavel Safronov | 27 | 1. Add video chat |
| 28 | 2. Convert to React | |
| 29 | 3. Publish versions of all branches | |
| 30 | 4. 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 Safronov | 33 | 5. 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) |