Changeset 9bd09b0 for pages


Ignore:
Timestamp:
06/23/22 00:08:35 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
ace7865
Parents:
285c3cc
Message:

Roulette place a bet functionality

Location:
pages
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • pages/api/blackjack/gameStates.js

    r285c3cc r9bd09b0  
    1212export let game = {
    1313  deck: [...deck],
    14   status: '_1_room_created',
     14  status: '_1_room_created',      // statuses: _1_room_created, _2_made_initial_bet, _3_made_side_bet, _4_cards_on_the_table, _5_game_over
    1515  playerCards: [],
    1616  dealerName: 'Lazar',
  • pages/games/poker.js

    r285c3cc r9bd09b0  
    11import React from 'react'
    22
    3 import Header from '../../components/Header'
    4 import FullwidthText from '../../components/FullwidthText'
    5 
    6 import Head from 'next/head'
     3import Poker from '../../components/poker/Poker'
    74
    85const poker = () => {
    96  return (
    107    <div className="app">
    11       <Head>
    12         <title>Caessino - Poker</title>
    13       </Head>
    14  
    15       <Header main="false"/>
    16       <FullwidthText title="Poker" subtitle="Under Construction..."/>
     8      <Poker/>
    179    </div>
    1810  )
  • pages/games/roulette.js

    r285c3cc r9bd09b0  
    11import React from 'react'
    2 
    3 import Header from '../../components/Header'
    4 import FullwidthText from '../../components/FullwidthText'
    5 
    6 import Head from 'next/head'
     2import Roulette from '../../components/roulette/Roulette'
    73
    84const roulette = () => {
    95  return (
    106    <div className="app">
    11       <Head>
    12         <title>Caessino - Roulette</title>
    13       </Head>
    14  
    15       <Header main="false"/>
    16       <FullwidthText title="Roulette" subtitle="Under Construction..."/>
     7      <Roulette/>
    178    </div>
    189  )
  • pages/index.js

    r285c3cc r9bd09b0  
    2121
    2222        <meta name="author" content="ESS" />
    23         <meta name="copyright" content="ESS CORP 2022 &copy;" />
     23        <meta name="copyright" content="&copy; ESS CORP 2022" />
    2424
    2525        <title>Caessino</title>
Note: See TracChangeset for help on using the changeset viewer.