GithubHelp home page GithubHelp logo

poker101-ui's Introduction

Poker101 UI Documentation

typescript react npm jest

To access the application on the web

https://swe681game.net/

To run the application

Run npm run start in root directory. The application will use http://localhost:3000/

Components

App

  • /src/app/components
  • Root component that contains the switch and routes for all the UI components including Dashboard, Profile and Game components

Navbar

  • /src/app/components/navigation
  • UI contains the top navigation bar with the links for the various page routes such as Dashboard,

Dashboard

  • /src/app/components/dashboard
  • UI displays the top navbar, and the user's game statistics such as all the games they have played/if they won or lost
  • Contains the create game button that allows users to start a new game, see the win/loss/draw record of themselves and others, see game moves of completed games, join an existing game that needs players.

Game

  • /src/game/components
  • UI contains the game board that displays the users cards and the the opposing players cards face down in circle.
  • Contains a real time game log that displays all events that occur in the game
  • If users turn, set timer for turn limit - detect if their session ended or closed browser

HTTP

  • Communicates with the server to store game state in the Game table in the database
  • Parameters, return types

Validation

  • When user creates a game, they must invite at least one player and at most 5.
  • Number of chips and ante inputs only accepts numeric values and positive integers and less than a million.

Profile

  • /src/profile/components
  • UI displays the user's data such as name, email and profile picture

poker101-ui's People

Contributors

alanjb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.