Add command ADD_PLAYER #92

Closed
opened 2026-04-11 15:52:34 +02:00 by jona.walpert · 7 comments
jona.walpert commented 2026-04-11 15:52:34 +02:00 (Migrated from git.scicore.unibas.ch)

Task

The reccommended type is: Task

Summary

Add command ADD_PLAYER to add a new username to the user registry.

Context

Request, CommandParser and CommandHandler

Current Progress

  • AddPlayerRequest
  • AddPlayerParser
  • AddPlayerHandler
  • Update protocol documentation
  • Write JavaDoc

Notes

Request

ADD_PLAYER
  NAME=Bob
END

Response

Response for two active users: Bob and Max Mustermann.

+OK
END

Error example

ERROR
  CODE=NAME_TAKEN
  MESSAGE=Name already taken
END
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 command `ADD_PLAYER` to add a new username to the user registry. ### Context Request, CommandParser and CommandHandler ### Current Progress * [ ] AddPlayerRequest * [ ] AddPlayerParser * [ ] AddPlayerHandler * [ ] Update protocol documentation * [ ] Write JavaDoc ### Notes #### Request ``` ADD_PLAYER NAME=Bob END ``` #### Response Response for two active users: Bob and Max Mustermann. ``` +OK END ``` #### **Error example** ``` ERROR CODE=NAME_TAKEN MESSAGE=Name already taken END 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 15:52:34 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @jona.walpert

assigned to @jona.walpert
jona.walpert commented 2026-04-11 16:49:01 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit e655530760

mentioned in commit e65553076094791ac3dff4c11e4eb493a6fa4e81
jona.walpert commented 2026-04-11 16:49:19 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item AddPlayerRequest as completed

marked the checklist item **AddPlayerRequest** as completed
jona.walpert commented 2026-04-11 16:49:23 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item AddPlayerRequest as incomplete

marked the checklist item **AddPlayerRequest** as incomplete
jona.walpert commented 2026-04-11 18:07:00 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !100

mentioned in merge request !100
jona.walpert commented 2026-04-11 18:33:01 +02:00 (Migrated from git.scicore.unibas.ch)

Closed with last Merge Request

Closed with last Merge Request
jona.walpert (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-11 18:33:01 +02:00
jona.walpert commented 2026-04-11 19:48:23 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !102

mentioned in merge request !102
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#92