Skip to content

L204: Rock, Paper, Scissors client (UIRpsGame) - #698

Merged
neeerp merged 2 commits into
masterfrom
v83/rps-client
Oct 22, 2026
Merged

neeerp merged 2 commits into
masterfrom
v83/rps-client

Conversation

@neeerp

@neeerp neeerp commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Client half of Rock, Paper, Scissors (server: #694). RE: v83ref reports b038 (protocol) and b041 (window layout).

  • RPS_GAME (312) mode 8 shows the admin's notice (pool 0xe5b) and then opens UIRpsGame on UIWindow.img/RpsGame, centred, not modal, dragged by its top 15 px, with no X and no Esc: Exit is the only way out.
  • Character/RpsGame holds the rules, covered by tests/rps_game.cpp: the spin every 120 ms slowing to the admin's hand, the banner, jingle and face a second later and gone at three, a draw played again, 30 seconds with the Timer in the last ten, then time over and Retry.
  • The status line follows v83: centred if it fits in 270 px, otherwise it starts halfway and scrolls; Restart's line stays through the rounds after Retry.
  • Refusals 6/7 show e64/e63 notices; RPS_ACTION (0x88) modes 0-5.
  • Review fixes: the banner is drawn over the avatar and the NPC, and a replayed round ticks all ten seconds.

Verified: dbg ctest 149/149; GUI take against the lane stack (notice, Start, time over to Retry, draw, win to Continue, drag, Exit giving the 1-win certificate, DB checked).

…ch plays v83's rounds (the spin slowing to his hand, the banner, jingle and face a second later, a draw played again, 30 seconds with the Timer in the last ten), its status line centred or scrolling, Start/Continue/Retry and Exit, dragged by its top, with no Esc
@neeerp
neeerp merged commit 6d160db into master Oct 22, 2026
1 check passed
@neeerp
neeerp deleted the v83/rps-client branch October 22, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant