feat: add Jerry character with speech assets and fix seat order logic

- Add 12 new MP3 speech files for Jerry (intro, happy, upset, pick)
- Update opponents.json to include Jerry's speech configuration
- Fix HoldemLogic to exclude folded players from seat order calculation
This commit is contained in:
Brian Fertig 2026-05-25 00:08:52 -06:00
parent a05d8b6c96
commit 0b2657b954
15 changed files with 26 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -280,7 +280,30 @@
"id": "jerry",
"spriteIndex": 10,
"name": "Jerry",
"bio": "Well now yall know I want to play some them games!"
"bio": "Well now yall know I want to play some them games!",
"speech": {
"intro": [
"jerry-intro-01",
"jerry-intro-02"
],
"happy": [
"jerry-happy-01",
"jerry-happy-02",
"jerry-happy-03",
"jerry-happy-04",
"jerry-happy-05"
],
"upset": [
"jerry-upset-01",
"jerry-upset-02",
"jerry-upset-03",
"jerry-upset-04",
"jerry-upset-05"
],
"pick": [
"jerry-pick"
]
}
},
{
"id": "natasha",

View File

@ -371,7 +371,8 @@ function getSeatOrder(players, dealerSeat) {
const order = [];
for (let i = 1; i <= n; i++) {
const seat = (dealerSeat + i) % n;
if (!players[seat].eliminated) order.push(seat);
const p = players[seat];
if (!p.eliminated && !p.folded) order.push(seat);
}
return order;
}