bearbob / bearbob/cheat-cooperate
Adding a user with the same ID to multiple rooms
Open
bug
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Adding a user (or users with the same ID) to multiple rooms should fail.
Use case:
game.createRoom('test');
game.addPlayer('test', 'a');
game.createRoom('test2');
game.addPlayer('test2', 'a');
Contributor guide
Research direction
The issue identifies game.createRoom and game.addPlayer as the relevant entry points; trace how player IDs are stored across rooms and how addPlayer reports failures. Add coverage for the shown two-room case and confirm that adding the same ID to the second room fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100