fuzzyworld

dao-game / react / files / readme.md

Branch react · default branch · all branches

readme.md

1.3 KB · history · blame

Dao

Running

  1. npm run start
  2. Navigate to http://localhost:3000/

Debugging

  1. npm run start
  2. Run Launch Chrome against localhost debug 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.

Esbuild

This project is using esbuild for creating a bundle.

Todos

  1. Add video chat
  2. Convert to React
  3. Publish versions of all branches
  4. Add computer opponent using simple minimax logic.
  5. https://www.neverstopbuilding.com/blog/minimax
  6. https://en.wikipedia.org/wiki/Minimax
  7. Add live reload support
  8. https://how-to.dev/how-to-add-live-reload-to-esbuild-server
Source
1# Dao
2
3## Running
4
51. `npm run start`
62. Navigate to [`http://localhost:3000/`](http://localhost:3000/)
7
8## Debugging
9
101. `npm run start`
112. Run `Launch Chrome against localhost` debug task in VSCode
12
13## Gitlab Pages
14
15GitLab 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/)
20
21## Esbuild
22
23This project is using [esbuild](https://esbuild.github.io/getting-started/#build-scripts) for creating a bundle.
24
25## Todos
26
271. 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)
335. 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)