Coder Social home page Coder Social logo

rodrigolebre / 21-online Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stopnoanime/21-online

0.0 0.0 0.0 1.57 MB

A multiplayer Blackjack game

Home Page: https://stopnoanime.github.io/21-online/

License: MIT License

Shell 0.06% JavaScript 0.26% TypeScript 81.27% HTML 10.84% Dockerfile 0.88% SCSS 6.68%

21-online's Introduction

21 Online

Game screenshot

21 Online is an online multiplayer Blackjack game. You can play it here.

Architecture

The game's frontend is made with Angular. The backend is made using Node.js and the Colyseus framework. The frontend is deployed on Github Pages. The backend is deployed on Fly.io.

Tests

The whole app is tested in multiple ways:

  • e2e testing - Frontend and Backend are tested together using Cypress
  • Frontend unit tests - Frontend components and logic are tested using Jasmine
  • Backend unit tests - Backend logic is tested using Jest

Folder structure

.
├── src                     # Angular frontend
├── cypress                 # Cypress e2e tests
├── backend                 # Colyseus backend
│   ├── src                 # Backend sources
│   └── tests               # Backend Jest tests
│   └── ...
└── ...

Local development

$ npm start                         # starts frontend
$ npm test                          # runs frontend unit tests
$ npm run e2e                       # runs e2e tests
$ npm run deploy                    # deploys frontend to gh-pages
$ npm run backend-start             # starts backend
$ cd backend && npm test            # runs backend unit tests
$ cd backend && npm run deploy      # deploys backend to fly.io               
$ cd backend && npm run loadtest    # runs backend loadtests          

21-online's People

Contributors

stopnoanime avatar testaccount434 avatar dependabot[bot] 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.