Add command PLAYER_BET on server side #102

Closed
opened 2026-04-11 23:39:42 +02:00 by jona.walpert · 8 comments
jona.walpert commented 2026-04-11 23:39:42 +02:00 (Migrated from git.scicore.unibas.ch)

Task

The reccommended type is: Task

Summary

Add the PLAYER_BET command to allow a player to place a bet during an ongoing game

Context

Request, CommandParser, Response and CommandHandler

Current Progress

  • PlayerBetRequest
  • PlayerBetParser
  • PlayerBetResponse
  • PlayerBetHandler
  • Update protocol documentation
  • Write JavaDoc

Request

BET GAME_ID=1 AMOUNT=50 (oder `BET AMOUNT=50` --`GAME_ID` optional)

Response

+OK
END

Checklist

  • I outlined checkpoints describing phases of my work related to this task
  • I added relevant labels
  • I linked to other issues or branches that must be completed first
## Task The reccommended type is: Task ### Summary Add the `PLAYER_BET` command to allow a player to place a bet during an ongoing game ### Context Request, CommandParser, Response and CommandHandler ### Current Progress * [x] PlayerBetRequest * [x] PlayerBetParser * [x] PlayerBetResponse * [x] PlayerBetHandler * [x] Update protocol documentation * [x] Write JavaDoc #### Request ``` BET GAME_ID=1 AMOUNT=50 (oder `BET AMOUNT=50` --`GAME_ID` optional) ``` #### Response ``` +OK END ``` ### Checklist * [x] I outlined checkpoints describing phases of my work related to this task * [x] I added relevant labels * [x] I linked to other issues or branches that must be completed first
jona.walpert commented 2026-04-11 23:39:42 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @jona.walpert

assigned to @jona.walpert
jona.walpert commented 2026-04-11 23:50:30 +02:00 (Migrated from git.scicore.unibas.ch)

changed the description

changed the description
jona.walpert commented 2026-04-12 00:13:01 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !110

mentioned in merge request !110
jona.walpert commented 2026-04-12 00:13:18 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item ListUsersRequest as completed

marked the checklist item **ListUsersRequest** as completed
jona.walpert commented 2026-04-12 00:13:19 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item ListUsersRequest as incomplete

marked the checklist item **ListUsersRequest** as incomplete
jona.walpert commented 2026-04-12 00:13:47 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item Update protocol documentation as completed

marked the checklist item **Update protocol documentation** as completed
jona.walpert commented 2026-04-12 00:13:47 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item Write JavaDoc as completed

marked the checklist item **Write JavaDoc** as completed
jona.walpert commented 2026-04-12 00:37:33 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 5997e736cf

mentioned in commit 5997e736cf6519bbb7adc17f4d50f6de3eda96c3
jona.walpert (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-12 00:37:33 +02:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#102