[GH-ISSUE #3418] [Feature]: 8-Ball Pool as a one-on-one conversation-mode table game #1850

Closed
opened 2026-10-21 05:43:14 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Romuromylus on GitHub (Jul 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3418

Originally assigned to: @SpicyMarinara, @Romuromylus on GitHub.

What problem does this solve?

Conversation mode's table games so far are all cards-and-board games — UNO, chess, and poker. There is no physical parlor game, and one-on-one hangouts ("let's shoot some pool") have no game to back them. 8-ball is the classic two-person bar game, and it is personality-expressive in a way none of the current games are: shot selection is character — a daredevil attempts the showoff bank, a cold tactician plays the safety and leaves you nothing, a hothead smashes every shot aggressively.

Proposed solution

Add 8-Ball Pool as the fourth turn-game on the existing conversation-mode framework (exactly 2 players: the user + one character), using a hybrid physics model:

  • A real 2D table (real 9-ft proportions) with actual ball positions, seeded break scatter, and fully deterministic, server-authoritative shot resolution — rewind/regenerate replays identically, and the LLM never adjudicates.
  • The engine geometrically computes a finite shot menu each turn (direct pots, bank shots, safeties — each with an honest difficulty tier and make percentage from cut angle, distance, and obstruction checks); characters choose from it in personality, they never aim. Controlled vs. aggressive shot styles trade make-chance against position and scratch risk.
  • Bar-rules 8-ball: open table after the break, first pot assigns solids/stripes, continue shooting on a pot, scratches give ball-in-hand, the 8 must be cleared-to and is inherently called, scratching while potting the 8 loses the rack. Alternate breaks, race-to-N matches, player-paced racks.
  • A selectable announcer (the poker dealer idiom): seat any chat character as the pool-hall commentator who calls the break, group assignment, fouls, great shots, and rack wins in their own voice — narration only, never affecting rules.
  • Full command-surface parity with the other games: an [eightball] conversation command, /8ball slash command (alias /pool), natural-language launcher, per-chat toggle, and a setup modal for opponent, announcer, match length, and who breaks.
  • A board that renders the table, balls, aim-line preview, and the same shot menu the characters see.

Alternatives considered

  • Full trajectory physics simulation: rejected — enormous engine surface for no gameplay gain, since LLM players cannot aim anyway; the candidate-menu model keeps determinism and reviewability while preserving real positions.
  • Fully abstract pool (no table, just declared shots): rejected — visually flat next to the poker/chess boards and loses emergent position play (safeties hiding the cue, scratch risk from cue travel).

Additional context

Builds directly on the existing turn-game framework (UNO #2721, chess #3126, poker #3407/#3408) and reuses poker's announcer contract hooks unchanged. Implementation is ready on feat/turn-games-8ball.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Romuromylus on GitHub (Jul 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3418 Originally assigned to: @SpicyMarinara, @Romuromylus on GitHub. ## What problem does this solve? Conversation mode's table games so far are all cards-and-board games — UNO, chess, and poker. There is no *physical* parlor game, and one-on-one hangouts ("let's shoot some pool") have no game to back them. 8-ball is the classic two-person bar game, and it is personality-expressive in a way none of the current games are: shot *selection* is character — a daredevil attempts the showoff bank, a cold tactician plays the safety and leaves you nothing, a hothead smashes every shot aggressively. ## Proposed solution Add 8-Ball Pool as the fourth turn-game on the existing conversation-mode framework (exactly 2 players: the user + one character), using a hybrid physics model: - A real 2D table (real 9-ft proportions) with actual ball positions, seeded break scatter, and fully deterministic, server-authoritative shot resolution — rewind/regenerate replays identically, and the LLM never adjudicates. - The engine geometrically computes a finite **shot menu** each turn (direct pots, bank shots, safeties — each with an honest difficulty tier and make percentage from cut angle, distance, and obstruction checks); characters *choose* from it in personality, they never aim. Controlled vs. aggressive shot styles trade make-chance against position and scratch risk. - Bar-rules 8-ball: open table after the break, first pot assigns solids/stripes, continue shooting on a pot, scratches give ball-in-hand, the 8 must be cleared-to and is inherently called, scratching while potting the 8 loses the rack. Alternate breaks, race-to-N matches, player-paced racks. - A **selectable announcer** (the poker dealer idiom): seat any chat character as the pool-hall commentator who calls the break, group assignment, fouls, great shots, and rack wins in their own voice — narration only, never affecting rules. - Full command-surface parity with the other games: an `[eightball]` conversation command, `/8ball` slash command (alias `/pool`), natural-language launcher, per-chat toggle, and a setup modal for opponent, announcer, match length, and who breaks. - A board that renders the table, balls, aim-line preview, and the *same* shot menu the characters see. ## Alternatives considered - **Full trajectory physics simulation:** rejected — enormous engine surface for no gameplay gain, since LLM players cannot aim anyway; the candidate-menu model keeps determinism and reviewability while preserving real positions. - **Fully abstract pool (no table, just declared shots):** rejected — visually flat next to the poker/chess boards and loses emergent position play (safeties hiding the cue, scratch risk from cue travel). ## Additional context Builds directly on the existing turn-game framework (UNO #2721, chess #3126, poker #3407/#3408) and reuses poker's announcer contract hooks unchanged. Implementation is ready on `feat/turn-games-8ball`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@Romuromylus commented on GitHub (Jul 10, 2026):

Temporarily closing while the implementation approach is reworked (physics-based resolution). Will reopen alongside the updated PR.

<!-- gh-comment-id:4935384632 --> @Romuromylus commented on GitHub (Jul 10, 2026): Temporarily closing while the implementation approach is reworked (physics-based resolution). Will reopen alongside the updated PR.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 10, 2026):

Fixed in #3419 and merged to staging.

<!-- gh-comment-id:4937429401 --> @SpicyMarinara commented on GitHub (Jul 10, 2026): Fixed in #3419 and merged to staging.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1850
No description provided.