Server won't determine winenr in all cases #125

Closed
opened 2026-04-24 14:49:03 +02:00 by jona.walpert · 4 comments
jona.walpert commented 2026-04-24 14:49:03 +02:00 (Migrated from git.scicore.unibas.ch)

Bug Report

Environment

  • Branch & Commit: main, ca656554
  • Operating system: windows 11
  • How was execution started (Gradle task / IDE debug / IDE run):
  • Java version: 25
  • Gradle version: 9.3.1

Summary

Winner is not displayed on al lclients in newly found edge case of player actions

Expected Behavior

The winner should be determiend by the server and displayed in the UI of all clients

Actual Behavior

The game ends but only one client UI displays a winner. All other players just remain in "Phase: Preflop" without showing the winner

Steps to Reproduce

  1. start a round of Casono
  2. First player bets 200 or 400
  3. All other Players fold instantly

Stack Trace / Error Message

<!-- Paste stack trace or log output here -->

Possible Cause / Notes

Checklist

  • I reproduced the problem using the steps above
  • I searched documentation for relevant information
  • I added relevant labels
## Bug Report <!--The reccommended type is: Issue--> ### Environment - **Branch & Commit: main, ca656554** - **Operating system: windows 11** - **How was execution started (Gradle task / IDE debug / IDE run):** - **Java version:** `25` - **Gradle version**: `9.3.1` ### Summary Winner is not displayed on al lclients in newly found edge case of player actions ### Expected Behavior The winner should be determiend by the server and displayed in the UI of all clients ### Actual Behavior The game ends but only one client UI displays a winner. All other players just remain in "Phase: Preflop" without showing the winner ### Steps to Reproduce 1. start a round of Casono 2. First player bets 200 or 400 3. All other Players fold instantly ### Stack Trace / Error Message ``` <!-- Paste stack trace or log output here --> ``` ### Possible Cause / Notes <!--Optional: your own hypothesis about the root cause--> ### Checklist - [x] I reproduced the problem using the steps above - [x] I searched documentation for relevant information - [x] I added relevant labels
jona.walpert commented 2026-04-24 14:49:04 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @j.kropff

assigned to @j.kropff
j.kropff commented 2026-04-25 13:50:41 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 5c0f3a7c86

mentioned in commit 5c0f3a7c86b1fb736fb9a2248fe63da7f823908e
j.kropff commented 2026-04-25 13:50:41 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 71d48d148b

mentioned in commit 71d48d148bac25205c61ed9db9f5fcce2b20e64b
j.kropff commented 2026-04-26 17:50:33 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !152

mentioned in merge request !152
j.kropff (Migrated from git.scicore.unibas.ch) closed this issue 2026-05-14 11:51:22 +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#125