Changeset 3a783f2
- Timestamp:
- 07/05/22 16:36:24 (2 years ago)
- Branches:
- main
- Children:
- 189cd8f
- Parents:
- b13f93b
- Files:
-
- 3 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
components/poker/PokerHeader.jsx
rb13f93b r3a783f2 23 23 const styleState = useSelector(state => state.style); 24 24 25 useEffect(() => async function(){25 useEffect(() => { 26 26 // display loading screen 27 27 dispatch(setStyle({ … … 30 30 })); 31 31 32 let interval = setInterval(() => { 33 axios.get(`/api/poker?action=update_state&session_id=${localStorage.CAESSINO_SESSION_ID}`).then(res => { 34 if (res.data?.success) { 35 dispatch(setPokerGame(res.data?.pokerGame)) 36 } 37 }); 38 }, 3000); 32 let interval; 39 33 40 34 axios.get(`/api/poker?action=get_player_info_on_enter&session_id=${localStorage.CAESSINO_SESSION_ID}`).then(res => { … … 51 45 displayLoadingScreen: false, 52 46 })) 47 48 interval = setInterval(() => { 49 axios.get(`/api/poker?action=update_state&session_id=${localStorage.CAESSINO_SESSION_ID}`).then(newRes => { 50 if (newRes.data?.success) { 51 dispatch(setPokerGame(newRes.data?.pokerGame)) 52 53 if (newRes.data?.pokerGame?.player?.credits !== playerState.player.credits && newRes.data?.pokerGame?.player?.credits > 0) { 54 dispatch(setPlayer({ 55 ...playerState.player, 56 credits: newRes.data?.pokerGame?.player?.credits, 57 })) 58 } 59 } 60 }); 61 }, 2000); 53 62 } 54 63 else { … … 66 75 } 67 76 }); 68 69 return () => clearInterval(interval); 70 }, [playerState.pokerGame.player.table]) 77 }, []) 78 79 function leaveTable() { 80 axios.get(`/api/poker?action=leave_table&session_id=${localStorage.CAESSINO_SESSION_ID}`); 81 } 71 82 72 83 return ( 73 84 <header className="header"> 74 <Link href="/" passHref> 75 <h2> 76 <AiOutlineArrowLeft /> 77 </h2> 78 </Link> 85 <div style={{display: 'flex', alignItems: 'center'}}> 86 <Link href="/" passHref> 87 <h2> 88 <AiOutlineArrowLeft /> 89 </h2> 90 </Link> 91 { playerState.pokerGame.player.table.length > 0 && <button style={{marginBottom: '4px', marginLeft: '32px', fontSize: '16px'}} className="tertiaryButton" onClick={() => leaveTable()}>Leave Table</button> } 92 </div> 79 93 <nav> 80 94 <ul> -
components/poker/PokerSections.jsx
rb13f93b r3a783f2 9 9 10 10 import { useSelector, useDispatch } from 'react-redux' 11 import Pot from './sections/Pot' 12 import RaiseModal from './sections/RaiseModal' 11 13 12 14 const PokerSections = () => { … … 24 26 <CardsInTheMiddle/> 25 27 28 <Pot/> 29 26 30 <PlayButtons/> 31 32 <RaiseModal/> 27 33 </> 28 34 ) -
components/poker/sections/Messages.jsx
rb13f93b r3a783f2 17 17 turnMessage = `It\'s ${playerState.pokerGame.table.players[playerState.pokerGame.table.turnIdx].displayName}\'s turn.`; 18 18 19 if (p layerState.pokerGame.table.lastBet> 0) {20 callMessage = `${playerState.pokerGame.table.players[playerState.pokerGame.table.turnIdx].displayName} must at least call $${ playerState.pokerGame.table.lastBet}`;19 if (parseInt(playerState.pokerGame.table.lastBet) > 0) { 20 callMessage = `${playerState.pokerGame.table.players[playerState.pokerGame.table.turnIdx].displayName} must at least call $${Math.min(playerState.player.credits, playerState.pokerGame.table.lastBet)}`; 21 21 } 22 22 } … … 24 24 return ( 25 25 <div className="pokerMessagesContainer"> 26 { playerState.pokerGame.table.started && <p>Round {playerState.pokerGame.table.round}/5{roundMessage}</p> } 26 { playerState.pokerGame.table.started && playerState.pokerGame.table.ended && playerState.pokerGame.table.winners.length === 1 && <p>Game over - {playerState.pokerGame.table.winners[0]?.displayName} won ${playerState.pokerGame.table.winners[0]?.wonAmount} with a {playerState.pokerGame.table.winners[0]?.hand?.hand} combination! Congratulations.</p> } 27 { playerState.pokerGame.table.started && playerState.pokerGame.table.ended && playerState.pokerGame.table.winners.length > 1 && <p>Game over - {playerState.pokerGame.table.winners.map(e=>e.displayName).join(", ")} drew!</p> } 28 { playerState.pokerGame.table.started && playerState.pokerGame.table.ended && <p>New game will start soon.</p> } 29 30 { playerState.pokerGame.table.started && !playerState.pokerGame.table.ended && <p>Round {playerState.pokerGame.table.round}/4{roundMessage}</p> } 27 31 { !playerState.pokerGame.table.started && <p>Waiting for coordinator {playerState.pokerGame.table.creator} to start the game.</p> } 28 { playerState.pokerGame.table.started && <p>{turnMessage}</p> }29 { playerState.pokerGame.table.started && <p>{callMessage}</p> }32 { playerState.pokerGame.table.started && !playerState.pokerGame.table.ended && <p>{turnMessage}</p> } 33 { playerState.pokerGame.table.started && !playerState.pokerGame.table.ended && <p>{callMessage}</p> } 30 34 </div> 31 35 ) -
components/poker/sections/PlayButtons.jsx
rb13f93b r3a783f2 4 4 5 5 import axios from 'axios'; 6 import { setPoker Game } from '../../../redux/reducers/playerSlice';6 import { setPoker } from '../../../redux/reducers/styleSlice'; 7 7 8 8 const PlayButtons = () => { … … 10 10 11 11 const playerState = useSelector(state => state.player); 12 const styleState = useSelector(state => state.style); 12 13 13 14 function sitDown() { … … 20 21 21 22 const checkClass = playerState.pokerGame.table.lastBet === 0 ? 'secondaryButton' : 'tertiaryButton'; 22 const callClass = 'secondaryButton'23 const callClass = playerState.pokerGame.table.lastBet > 0 ? 'secondaryButton' : 'tertiaryButton' 23 24 const raiseClass = playerState.pokerGame.table.round >= 2 ? 'secondaryButton' : 'tertiaryButton'; 24 25 const foldClass = 'secondaryButton'; … … 33 34 34 35 function raise() { 35 axios.get(`/api/poker?action=game_action&session_id=${localStorage.CAESSINO_SESSION_ID}&specificAction=raise&betAmount=0`); 36 dispatch(setPoker({ 37 ...styleState.poker, 38 displays: { 39 ...styleState.poker.displays, 40 raiseModal: true, 41 }, 42 })) 36 43 } 37 44 … … 40 47 } 41 48 42 if (playerState.pokerGame.table.started && playerState.pokerGame.player.isSatDown ) {49 if (playerState.pokerGame.table.started && playerState.pokerGame.player.isSatDown && parseInt(playerState.pokerGame.table.round) < 5) { 43 50 return ( 44 51 <div className="pokerPlayButtonsContainer"> -
components/roulette/Sections.jsx
rb13f93b r3a783f2 1 1 import React from 'react' 2 import Ball from './Ball'; 2 3 3 4 import BetModal from './BetModal'; … … 19 20 <img id="rouletteWheelImg" src="/images/roulette-wheel.png" alt="Roulette wheel" style={{transform: 'translate(-50%, -50%)'}}/> 20 21 22 <Ball/> 23 21 24 <PlayersDisplay/> 22 25 -
pages/api/poker/index.js
rb13f93b r3a783f2 11 11 creator: '', 12 12 started: false, 13 ended: false, 13 14 round: 0, 14 turnIdx: 0, 15 turnIdx: -1, 16 pot: 0, 15 17 lastBet: 0, 16 18 turnsSinceLastBet: 0, … … 18 20 deck: [], 19 21 cardsOnTable: [], 22 winners: [], 23 splitWinners: false, 24 turnTimeout: null, 20 25 } 21 26 … … 26 31 displayName: '', 27 32 cards: [], 33 hand: { 34 hand: '', 35 highCard: 0, 36 }, 28 37 betAmount: 0, 29 38 isSatDown: false, 30 39 isCoordinator: false, 31 40 isFolded: false, 41 isGhost: false, 42 credits: 0, 32 43 } 33 44 … … 45 56 "DA", "D2", "D3", "D4", "D5", "D6", "D7", "D8", "D9", "DX", "DJ", "DQ", "DK" ]; 46 57 58 const deck = [...singleDeck]; 59 47 60 /* We are using 5 decks */ 48 const deck = singleDeck.concat(singleDeck).concat(singleDeck).concat(singleDeck).concat(singleDeck);61 // const deck = singleDeck.concat(singleDeck).concat(singleDeck).concat(singleDeck).concat(singleDeck); 49 62 50 63 /** … … 81 94 } 82 95 83 function setNextPlayerIdx(tableId) {96 function getMaxBet(tableId) { 84 97 const tableIdx = tables.map(e=>e.id).indexOf(tableId); 85 98 … … 87 100 const table = tables[tableIdx]; 88 101 102 let maxBet = 0; 103 table.players.forEach(player => { 104 if (player.betAmount > maxBet) { 105 maxBet = player.betAmount; 106 } 107 }) 108 109 return maxBet; 110 } 111 112 return 0; 113 } 114 115 function setNextPlayerIdx(tableId) { 116 const tableIdx = tables.map(e=>e.id).indexOf(tableId); 117 118 if (tables[tableIdx] !== undefined) { 119 const table = tables[tableIdx]; 120 121 if (table.turnTimeout !== null) clearTimeout(table.turnTimeout); 122 123 let counter = 10; 124 89 125 while (true) { 126 counter--; 127 90 128 table.turnIdx++; 91 129 table.turnIdx %= table.players.length; 92 130 93 131 if (table.players[table.turnIdx] !== undefined && table.players[table.turnIdx].isSatDown && !table.players[table.turnIdx].isFolded) { 132 if (table.round >= 2 && table.players[table.turnIdx].credits === 0) continue; 133 134 let prevTurnIdx = table.turnIdx; 135 table.turnTimeout = setTimeout(() => { 136 if (prevTurnIdx === table.turnIdx) { 137 if (table.players[table.turnIdx] !== undefined) { 138 table.players[table.turnIdx].isFolded = true; 139 140 setNextPlayerIdx(table.id); 141 } 142 } 143 }, 30000); 144 145 table.lastBet = getMaxBet(table.id) - table.players[table.turnIdx].betAmount; 146 if (table.round === 1 && getMaxBet(table.id) <= 20) table.lastBet = 20; 147 94 148 return ; 95 149 } 150 151 if (counter <= 0) return ; 96 152 } 97 153 } … … 113 169 } 114 170 } 171 else if (table.round > 2) { 172 const card = drawASingleCard(table.id); 173 174 if (card !== undefined) { 175 table.cards.push(card); 176 } 177 } 178 } 179 } 180 181 function resetGame(tableId) { 182 const tableIdx = tables.map(e=>e.id).indexOf(tableId); 183 184 if (tables[tableIdx] !== undefined) { 185 const table = tables[tableIdx]; 186 187 table.started = false; 188 table.ended = false; 189 table.round = 0; 190 table.turnIdx = 0; 191 table.turnTimeout = null; 192 table.pot = 0; 193 table.lastBet = 20; 194 table.turnsSinceLastBet = 0; 195 table.deck = [...deck]; 196 197 table.players = table.players.filter(e=>e.isGhost === false); 198 199 table.players.forEach(player => { 200 player.credits = 0; 201 player.cards = []; 202 player.isFolded = false; 203 player.betAmount = 0; 204 player.wonAmount = 0; 205 player.hand = { 206 hand: '', 207 highCard: 0, 208 } 209 }) 210 table.winners = []; 211 table.splitWinners = false; 212 table.cards = []; 213 } 214 } 215 216 function giveMoneyToTheWinners(tableId) { 217 const tableIdx = tables.map(e=>e.id).indexOf(tableId); 218 219 if (tables[tableIdx] !== undefined) { 220 const table = tables[tableIdx]; 221 222 const satDownPlayers = table.players.filter(e => e.isSatDown === true); 223 const satDownCount = satDownPlayers.length; 224 225 table.players.forEach(player => { 226 let winnings = 0; 227 if (table.winners.indexOf(player) !== -1) { 228 // winner 229 winnings = 0; 230 table.players.forEach(tmpPlayer => { 231 winnings += Math.min(tmpPlayer.betAmount, player.betAmount); 232 }) 233 234 axios.get(`${process.env.HOME_URL}/api/postgre/?action=add_credits&session_id=${player.id}&credits=${winnings}&game=poker&outcome=won`).then(postgreRes => { 235 if (postgreRes.data?.success) { 236 player.credits = postgreRes.data?.credits; 237 } 238 }); 239 } 240 else { 241 // loser 242 winnings = player.betAmount; 243 table.players.forEach(tmpPlayer => { 244 if (table.winners.indexOf(tmpPlayer) !== -1) { 245 winnings -= tmpPlayer.betAmount; 246 } 247 }) 248 249 axios.get(`${process.env.HOME_URL}/api/postgre/?action=add_credits&session_id=${player.id}&credits=${winnings}&game=poker&outcome=lost`).then(postgreRes => { 250 if (postgreRes.data?.success) { 251 player.credits = postgreRes.data?.credits; 252 } 253 }); 254 } 255 256 player.wonAmount = winnings; 257 }) 258 259 setTimeout(() => { 260 resetGame(table.id); 261 }, 15000); 262 } 263 } 264 265 function setWinner(tableId) { 266 const tableIdx = tables.map(e=>e.id).indexOf(tableId); 267 268 if (tables[tableIdx] !== undefined) { 269 const table = tables[tableIdx]; 270 271 table.turnIdx = -1; 272 273 table.players.forEach(player => { 274 if (player.isSatDown && !player.isFolded) { 275 player.hand = getHandDetails(player.cards.concat(table.cards)) 276 } 277 }) 278 279 hands.forEach(hand => { 280 const playerHands = table.players.filter(e=>e.hand.hand === hand); 281 282 if (table.winners.length === 0) { 283 if (playerHands.length === 1) { 284 table.winners.push(playerHands[0]) 285 } 286 else if (playerHands.length > 1) { 287 let tmp = playerHands[0].hand.highCard; 288 let tmpWinners = []; 289 290 playerHands.forEach(player => { 291 if (player.hand.highCard > tmp) { 292 tmp = player.hand.highCard; 293 } 294 }) 295 296 playerHands.forEach(player => { 297 if (player.hand.highCard === tmp) { 298 tmpWinners.push(player); 299 } 300 }) 301 302 if (tmpWinners.length > 1) table.splitWinners = true; 303 table.winners = [...tmpWinners]; 304 } 305 } 306 }) 307 308 giveMoneyToTheWinners(table.id); 309 } 310 } 311 312 function progressRoundIfNeeded(tableId) { 313 const tableIdx = tables.map(e=>e.id).indexOf(tableId); 314 315 if (tables[tableIdx] !== undefined) { 316 const table = tables[tableIdx]; 317 318 const satDownPlayers = table.players.filter(e=>e.isSatDown === true); 319 const remainingPlayers = satDownPlayers.filter(e=>e.isFolded === false); 320 321 if (table.turnsSinceLastBet === remainingPlayers.length) { 322 table.round++; 323 table.lastBet = 0; 324 table.turnsSinceLastBet = 0; 325 326 if (table.round <= 4) { 327 getCardsOnTable(table.id); 328 } 329 else { 330 table.ended = true; 331 } 332 333 if (table.ended && table.winners.length === 0) { 334 setWinner(table.id); 335 } 336 } 115 337 } 116 338 } … … 129 351 creator: playerName, 130 352 started: false, 353 ended: false, 131 354 round: 0, 132 turnIdx: 0, 355 turnIdx: -1, 356 pot: 0, 133 357 lastBet: 20, 134 358 turnsSinceLastBet: 0, … … 137 361 id: playerId, 138 362 table: tableId, 363 credits: 0, 139 364 status: '_1_just_entered', 140 365 displayName: playerName, 141 366 cards: [], 142 367 betAmount: 0, 368 wonAmount: 0, 143 369 isSatDown: false, 144 370 isCoordinator: true, 145 371 isFolded: false, 372 isGhost: false, 373 hand: { 374 hand: '', 375 highCard: 0, 376 }, 146 377 }], 378 winners: [], 379 splitWinners: false, 147 380 cards: [], 148 381 } … … 167 400 }); 168 401 402 let tmpWinners = []; 403 table.winners.forEach(winner => { 404 tmpWinners.push({ 405 ...winner, 406 id: '', 407 table: '', 408 cards: '', 409 }) 410 }); 411 169 412 let tmp = { 170 413 ...table, 171 414 deck: [], 172 415 players: tmpPlayers, 416 winners: tmpWinners, 417 turnTimeout: null, 173 418 } 174 419 … … 201 446 id: '', 202 447 table: '', 203 cards: player.cards.length > 0 ? ['back', 'back'] : '',448 cards: table.ended ? player.cards : player.cards.length > 0 ? ['back', 'back'] : '', 204 449 }) 205 450 } 206 451 }); 207 452 453 let tmpWinners = []; 454 table.winners.forEach(winner => { 455 if (winner.id === session_id) { 456 tmpWinners.push({ 457 ...winner, 458 id: '', 459 table: '', 460 }) 461 } 462 else { 463 tmpWinners.push({ 464 ...winner, 465 id: '', 466 table: '', 467 cards: table.ended ? winner.cards : winner.cards.length > 0 ? ['back', 'back'] : '', 468 }) 469 } 470 }); 208 471 result = { 209 472 ...table, 210 473 players: tmpPlayers, 474 winners: tmpWinners, 475 turnTimeout: null, 211 476 } 212 477 } … … 227 492 function getTableAndPlayer(session_id) { 228 493 for (let tableIdx = 0; tableIdx < tables.length; tableIdx++) { 229 const playerIdx = tables[tableIdx].players. map(e=>e.id).indexOf(session_id);494 const playerIdx = tables[tableIdx].players.filter(e=>e.isGhost === false).map(e=>e.id).indexOf(session_id); 230 495 231 496 if (playerIdx !== -1) { … … 269 534 const { success, table, player } = getTableAndPlayer(req.query.session_id) 270 535 271 if (success && table.started ) {536 if (success && table.started && !table.ended && player.isSatDown && !player.isFolded) { 272 537 if (table.players.map(e=>e.id).indexOf(req.query.session_id) !== table.turnIdx) { 273 538 res.end(); … … 277 542 let okayToGo = false; 278 543 279 const satDownPlayers = table.players.filter(e=>e.isSatDown === true);280 const remainingPlayers = satDownPlayers.filter(e=>e.folded === false);281 282 544 if (req.query.specificAction === 'check') { 283 545 if (table.lastBet === 0) { 546 table.turnsSinceLastBet++; 547 okayToGo = true; 548 549 progressRoundIfNeeded(table.id); 550 } 284 551 } 285 552 else if (req.query.specificAction === 'call') { 286 player.betAmount += table.lastBet; 287 table.turnsSinceLastBet++; 553 await axios.get(`${process.env.HOME_URL}/api/postgre/?action=take_credits&session_id=${req.query.session_id}&credits=${table.lastBet}&takeWhatYouCan=true`).then(postgreRes => { 554 if (postgreRes.data?.success) { 555 player.credits = postgreRes.data?.credits; 556 557 if (player.credits >= table.lastBet) 558 player.betAmount += table.lastBet; 559 else 560 player.betAmount += player.credits; 561 562 table.pot += table.lastBet; 563 table.turnsSinceLastBet++; 564 okayToGo = true; 565 566 progressRoundIfNeeded(table.id); 567 } 568 }); 569 } 570 else if (req.query.specificAction === 'raise') { 571 const betAmount = parseInt(req.query.betAmount); 572 573 if (betAmount >= table.lastBet) { 574 await axios.get(`${process.env.HOME_URL}/api/postgre/?action=take_credits&session_id=${req.query.session_id}&credits=${betAmount}&takeWhatYouCan=true`).then(postgreRes => { 575 if (postgreRes.data?.success) { 576 player.credits = postgreRes.data?.credits; 577 578 player.betAmount += betAmount; 579 table.pot += betAmount; 580 table.turnsSinceLastBet = 1; 581 okayToGo = true; 582 583 progressRoundIfNeeded(table.id); 584 } 585 }); 586 } 587 } 588 else if (req.query.specificAction === 'fold') { 589 player.isFolded = true; 288 590 okayToGo = true; 289 591 290 if (table.turnsSinceLastBet === remainingPlayers.length) { 291 table.round++; 292 table.lastBet = 0; 293 294 getCardsOnTable(table.id); 295 } 296 } 297 else if (req.query.specificAction === 'raise') { 298 299 } 300 else if (req.query.specificAction === 'fold') { 301 player.folded = true; 592 progressRoundIfNeeded(table.id); 302 593 } 303 594 … … 320 611 321 612 if (success && !table.started) { 613 table.players.forEach(player => { 614 axios.get(`${process.env.HOME_URL}/api/postgre/?action=check_if_logged_in&session_id=${player.id}`).then(postgreRes => { 615 if (postgreRes.data?.success) { 616 player.credits = postgreRes.data?.credits; 617 } 618 }); 619 }) 620 322 621 table.started = true; 323 622 table.round = 1; 324 623 325 const satDownPlayers = table.players.filter(e=>e.isSatDown === true); 326 327 table.turnIdx = Math.floor(Math.random(0, satDownPlayers.length)) 624 table.turnIdx = Math.floor(Math.random(0, table.players.length)) 625 setNextPlayerIdx(table.id); 328 626 329 627 table.players.forEach(player => { … … 363 661 * /---------------------- GET ----------------------/ 364 662 * Creates the table and enters the user inside 663 * @action leave_table 664 * @param session_id 665 */ 666 if (req.query.action === 'leave_table' && req.query?.session_id) { 667 const { success, table, player } = getTableAndPlayer(req.query.session_id); 668 669 if (success) { 670 player.isGhost = true; 671 player.isFolded = true; 672 673 if (table.players[table.turnIdx] !== undefined && table.players[table.turnIdx] === player) { 674 setNextPlayerIdx(table.id); 675 } 676 } 677 678 res.end(); 679 } 680 681 /** 682 * /---------------------- GET ----------------------/ 683 * Creates the table and enters the user inside 365 684 * @action join_a_table 366 685 * @param session_id … … 375 694 const table = getTable(req.query.tableId) 376 695 377 if ( !table.started) {696 if (table !== undefined && !table.started) { 378 697 table.players.push({ 379 698 ...samplePlayer, … … 459 778 * ********************* END OF REQUEST HANDLER ********************* 460 779 */ 780 781 const hands = [ 782 'Royal Flush', 783 'Straight Flush', 784 'Four of a Kind', 785 'Full House', 786 'Flush', 787 'Straight', 788 'Three of a Kind', 789 'Two Pairs', 790 'Pair', 791 'High Card', 792 ] 793 794 const order = "23456789TJQKA" 795 function getHandDetails(hand) { 796 const cards = hand 797 const faces = cards.map(a => String.fromCharCode([77 - order.indexOf(a[1])])).sort() 798 const suits = cards.map(a => a[0]).sort() 799 const counts = faces.reduce(count, {}) 800 const duplicates = Object.values(counts).reduce(count, {}) 801 const flush = suits[0] === suits[4] 802 const first = faces[0].charCodeAt(1) 803 const straight = faces.every((f, index) => f.charCodeAt(1) - first === index) 804 let rank = 805 (flush && straight && 1) || 806 (duplicates[4] && 2) || 807 (duplicates[3] && duplicates[2] && 3) || 808 (flush && 4) || 809 (straight && 5) || 810 (duplicates[3] && 6) || 811 (duplicates[2] > 1 && 7) || 812 (duplicates[2] && 8) || 813 9; 814 815 return { hand: hands[rank], highCard: faces.sort(byCountFirst).join("") } 816 817 function byCountFirst(a, b) { 818 //Counts are in reverse order - bigger is better 819 const countDiff = counts[b] - counts[a] 820 if (countDiff) return countDiff // If counts don't match return 821 return b > a ? -1 : b === a ? 0 : 1 822 } 823 824 function count(c, a) { 825 c[a] = (c[a] || 0) + 1 826 return c 827 } 828 } 829 830 function getCardCombinations(playerCards, tableCards) { 831 let combinations = []; 832 833 combinations.push([playerCards[0], tableCards[0], tableCards[1], tableCards[2], tableCards[3]]) 834 combinations.push([playerCards[0], tableCards[0], tableCards[1], tableCards[2], tableCards[4]]) 835 836 combinations.push([playerCards[0], tableCards[0], tableCards[1], tableCards[4], tableCards[3]]) 837 combinations.push([playerCards[0], tableCards[0], tableCards[4], tableCards[2], tableCards[3]]) 838 combinations.push([playerCards[0], tableCards[4], tableCards[1], tableCards[2], tableCards[3]]) 839 840 841 combinations.push([playerCards[1], tableCards[0], tableCards[1], tableCards[2], tableCards[3]]) 842 combinations.push([playerCards[1], tableCards[0], tableCards[1], tableCards[2], tableCards[4]]) 843 844 combinations.push([playerCards[1], tableCards[0], tableCards[1], tableCards[4], tableCards[3]]) 845 combinations.push([playerCards[1], tableCards[0], tableCards[4], tableCards[2], tableCards[3]]) 846 combinations.push([playerCards[1], tableCards[4], tableCards[1], tableCards[2], tableCards[3]]) 847 848 849 combinations.push([playerCards[0], playerCards[1], tableCards[0], tableCards[1], tableCards[2]]) 850 combinations.push([playerCards[0], playerCards[1], tableCards[0], tableCards[1], tableCards[3]]) 851 combinations.push([playerCards[0], playerCards[1], tableCards[0], tableCards[1], tableCards[4]]) 852 853 combinations.push([playerCards[0], playerCards[1], tableCards[0], tableCards[2], tableCards[3]]) 854 combinations.push([playerCards[0], playerCards[1], tableCards[0], tableCards[2], tableCards[4]]) 855 combinations.push([playerCards[0], playerCards[1], tableCards[0], tableCards[3], tableCards[4]]) 856 857 combinations.push([playerCards[0], playerCards[1], tableCards[1], tableCards[2], tableCards[3]]) 858 combinations.push([playerCards[0], playerCards[1], tableCards[1], tableCards[2], tableCards[4]]) 859 combinations.push([playerCards[0], playerCards[1], tableCards[1], tableCards[3], tableCards[4]]) 860 861 combinations.push([playerCards[0], playerCards[1], tableCards[2], tableCards[3], tableCards[4]]) 862 863 864 return combinations; 865 } -
pages/api/postgre/index.js
rb13f93b r3a783f2 82 82 } 83 83 } 84 else if (req.query?.game === 'poker') { 85 if (req.query?.outcome === 'lost') { 86 pool.query('UPDATE stats SET poker_games = $1 WHERE username = $2', [parseInt(stats.poker_games) + 1, session.username], (error, results) => { 87 if (error) throw error; 88 }); 89 } 90 else if (req.query?.outcome === 'won') { 91 pool.query('UPDATE stats SET poker_games = $1, poker_won_games = $2 WHERE username = $3', [parseInt(stats.poker_games) + 1, parseInt(stats.poker_won_games) + 1, session.username], (error, results) => { 92 if (error) throw error; 93 }); 94 } 95 } 84 96 } 85 97 }); … … 110 122 const session = sessions.find(session => session.id === session_id) 111 123 124 let takeWhatYouCan = false; 125 if (req.query?.takeWhatYouCan === "true") takeWhatYouCan = true; 126 112 127 if (session) { 113 128 session.lastActivity = Date.now(); 114 129 115 session.credits = session.credits - parseInt(req.query.credits) 130 if (session.credits < parseInt(req.query.credits)) { 131 if (takeWhatYouCan) { 132 session.credits = 0; 133 } 134 else { 135 res.json({ 136 success: false, 137 }); 138 139 return ; 140 } 141 } 142 else { 143 session.credits = session.credits - parseInt(req.query.credits) 144 } 116 145 117 146 pool.query('UPDATE players SET credits = $1 WHERE username = $2', [session.credits, session.username], (error, results) => { -
styles/globals.css
rb13f93b r3a783f2 785 785 } 786 786 787 #rouletteBall { 788 position: absolute; 789 top: 87.5%; 790 left: 17.5%; 791 width: 1rem; 792 } 793 787 794 #rouletteBetsImg { 788 795 position: absolute; … … 893 900 } 894 901 902 .pokerRaiseModal { 903 z-index: 20; 904 -webkit-box-orient: vertical; 905 -webkit-box-direction: normal; 906 -ms-flex-direction: column; 907 flex-direction: column; 908 -webkit-box-pack: center; 909 -ms-flex-pack: center; 910 justify-content: center; 911 -webkit-box-align: center; 912 -ms-flex-align: center; 913 align-items: center; 914 position: fixed; 915 left: 0; 916 top: 0; 917 width: 100vw; 918 height: 100vh; 919 background: #000000c0; 920 } 921 922 .pokerRaiseModal p { 923 margin-bottom: 1rem; 924 padding: 10px 20px; 925 border-radius: 5px; 926 -webkit-transition: all .25s linear; 927 transition: all .25s linear; 928 } 929 930 .pokerRaiseModal p span { 931 font-size: 1.2rem; 932 color: #ead24d; 933 } 934 895 935 /** 896 936 * Spin effect on the roulette wheel … … 1093 1133 } 1094 1134 1135 .pokerMainContainer .pokerChairsContainer .pokerChair.onTurn { 1136 border: 5px dotted #ead24d; 1137 background-color: #ead24d55; 1138 } 1139 1140 .pokerMainContainer .pokerChairsContainer .pokerChair.folded { 1141 border: 5px solid rgba(59, 59, 59, 0.667); 1142 background-color: rgba(59, 59, 59, 0.667); 1143 } 1144 1095 1145 .pokerMainContainer .pokerChairsContainer .pokerChair > div p { 1096 1146 margin-block: 2px; … … 1127 1177 } 1128 1178 1179 .pokerMainContainer .pokerPotContainer { 1180 position: absolute; 1181 top: 57vh; 1182 left: 50vw; 1183 -webkit-transform: translate(-50%, -50%); 1184 transform: translate(-50%, -50%); 1185 } 1186 1129 1187 .pokerMainContainer .pokerPlayButtonsContainer { 1130 1188 position: absolute; 1131 top: 59vh;1189 top: 62vh; 1132 1190 left: 50vw; 1133 1191 -webkit-transform: translate(-50%, -50%); -
styles/globals.css.map
rb13f93b r3a783f2 1 1 { 2 2 "version": 3, 3 "mappings": "AAAA,OAAO,CAAC,6FAAI;AAEZ,AAAA,IAAI;AACJ,IAAI,CAAC;EACH,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EAIT,WAAW,EAAE,mBAAmB;EAEhC,QAAQ,EAAE,MAAM;CACjB;;AAED,AAAA,CAAC,CAAC;EACA,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;CACtB;;AAED,AAAA,CAAC,CAAC;EACA,UAAU,EAAE,UAAU;CACvB;;AAGD,AAAA,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC;EACR,MAAM,EAAE,CAAC;CACV;;AAED,AAAA,IAAI,CAAC;EACH,KAAK,EAAE,KAAK;EAEZ,cAAc,EAAE,GAAG;EAEnB,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,KAAK;EAEb,MAAM,EAAE,IAAI;EAEZ,QAAQ,EAAE,MAAM;EAEhB,eAAe,EAAE,KAAK;EACtB,iBAAiB,EAAE,SAAS;EAC5B,mBA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U,EAAE,IAAI;CACjB;;AArML,AAuMI,mBAvMe,CAsLjB,uBAAuB,GAiBnB,CAAC,AAAA,WAAW,CAAC;EACb,UAAU,EAAE,KAAK;EACjB,KAAK,EAAE,IAAI;CACZ", 4 4 "sources": [ 5 5 "globals.scss" -
styles/globals.scss
rb13f93b r3a783f2 772 772 } 773 773 774 #rouletteBall { 775 position: absolute; 776 top: 87.5%; 777 left: 17.5%; 778 779 width: 1rem; 780 } 781 774 782 #rouletteBetsImg { 775 783 position: absolute; … … 850 858 851 859 .rouletteBetModal { 860 z-index: 20; 861 862 flex-direction: column; 863 justify-content: center; 864 align-items: center; 865 866 position: fixed; 867 left: 0; 868 top: 0; 869 870 width: 100vw; 871 height: 100vh; 872 873 background: #000000c0; 874 875 p { 876 margin-bottom: 1rem; 877 878 padding: 10px 20px; 879 border-radius: 5px; 880 881 transition: all .25s linear; 882 883 span { 884 font-size: 1.2rem; 885 color: #ead24d; 886 } 887 } 888 } 889 890 .pokerRaiseModal { 852 891 z-index: 20; 853 892 … … 1021 1060 1022 1061 &.onTurn { 1023 border: 5px solid #ead24d; 1062 border: 5px dotted #ead24d; 1063 background-color: #ead24d55; 1024 1064 } 1025 1065 1026 1066 &.folded { 1027 border: 5px solid rgba(71, 64, 24, 0.667); 1067 border: 5px solid rgba(59, 59, 59, 0.667); 1068 background-color: rgba(59, 59, 59, 0.667); 1028 1069 } 1029 1070 … … 1065 1106 } 1066 1107 1108 .pokerPotContainer { 1109 position: absolute; 1110 top: 57vh; 1111 left: 50vw; 1112 1113 transform: translate(-50%, -50%); 1114 } 1115 1067 1116 .pokerPlayButtonsContainer { 1068 1117 position: absolute; 1069 top: 59vh;1118 top: 62vh; 1070 1119 left: 50vw; 1071 1120
Note:
See TracChangeset
for help on using the changeset viewer.