khemssharma / khemssharma/Chess
Clocks must not stop even when either of the player leaves the game
Open
good first issue
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 2
- Avg merge
- 2m
- Merged PRs (30d)
- 5
Description
- Right now clocks just freeze where the are when either of the player leaves the game.
What is happening fine:
- The player who left the game loses when an opponent leaves the game after a fixed timeout.
- The game can be continued when an opponent rejoins the game.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the TypeScript server logic for player leave, clock updates, timeout losses, and rejoins. Reproduce a leave-and-rejoin game, then verify that the clocks continue running while a player is absent and that the existing timeout behavior still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- backend, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100