Skip to content

Bug: knowing a game_id allows you to join (and vote in) games already started #2521

@rewtd

Description

@rewtd

Describe the bug
When a game has already been started all the cards are dealt to players, however a player can still join that already started game and is then able to see and vote on cards as they are played.

To Reproduce
Steps to reproduce the behavior:

  1. Create a game and and add three players to the game before starting it.
  2. Now go to the join game endpoint for that newly started game.
  3. Join as a new player, who is assigned no cards, but is able to watch the game in real time and vote on cards played.

Expected behavior
Players should not be able to join a game already in progress.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions