Skip to content

Conversation

@kevo1ution
Copy link
Contributor

@kevo1ution kevo1ution commented Jan 6, 2023

Address server side timer feature for turn-based games boardgameio/boardgame.io/issues/92

  1. Set a timer so that a user-defined function can modify the state of the room when that timeout is reached onTimeout
  2. Ability to stop a timer after setting it. (e.g. when a player makes a move)
  3. Timers can be set at any time in the future (anything less than 10 seconds will not have as good execution guarantees).

Experimental usage instructions

# in the root of your game folder
npm i -S @urturn/runner@0.6.0-experiemental.0

Docs on how to use it! https://board-games-dev-e8c04--pr207-main-370-timers-poc-qvwllgsf.web.app/docs/Advanced/timer-triggers

We are still iterating on the exact interface of this so please provide feedback in our discord or on the pr!

@kevo1ution kevo1ution temporarily deployed to development January 6, 2023 21:22 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 6, 2023 21:31 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 6, 2023 21:31 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 6, 2023 21:31 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Visit the preview URL for this PR (updated for commit eb1350d):

https://board-games-io--pr207-main-370-timers-poc-1pkpjpsd.web.app

(expires Sun, 15 Jan 2023 07:16:50 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 3e7e847e27ba6740d5969b1afd4d3ad7cb9d2a2d

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Visit the preview URL for this PR (updated for commit eb1350d):

https://board-games-dev-e8c04--pr207-main-370-timers-poc-qvwllgsf.web.app

(expires Sun, 15 Jan 2023 07:16:38 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 47d7f89a75a39348c1e3a37465568d441f0e7019

@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 01:36 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 02:07 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 02:19 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 02:19 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 02:19 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 02:19 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 05:28 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 05:32 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 05:40 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 05:40 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 05:40 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 7, 2023 05:40 — with GitHub Actions Inactive
@kevo1ution kevo1ution changed the title [MAIN-370] Timers POC with the runner [MAIN-370] POC Address server side timer features for turn-based-games Jan 8, 2023
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:01 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:05 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:05 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:15 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:15 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:15 — with GitHub Actions Inactive
@kevo1ution kevo1ution temporarily deployed to development January 8, 2023 07:15 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant