Coder Social home page Coder Social logo

poker-game's Introduction

Build Status Build Status Dev

Card Game

This is a code practice

Assumptions

1 - I didn't identify a necessity or use to create a single deck and not use it. So i decide to provide through API just add deck for now

2 - once the game is started, it's not possible to join

3 - it will be more view request them the play requests

4 - assuming the rule "53rd call" its to not throw an error, and cards are empty. Other interpretation can be that a player can't receive more than 52 cards, then it will be other implementation

5 - it's not clear if it's possible to joing after a game has started, so i will not block 5.1 the same for adding new decks

6 - for now its not possible to reset cards e redistribute cards, we can implement it later

Instructions

Postman

./others/postman has a collection that can be used to manually test

Build

chmod -R +x ./mvnw

./mvnw clean install

Build Docker Image

docker build -t fernandosgomes/poker-game . --build-arg VERSAO=1.0.0-SNAPSHOT (i have not tested because my destkop pc has broken, my notebook has some issues with docker)

it's simple, so its supposed to work

Using compose

docker-compose -f docker-compose.yml up -d

It's using the image, but can be change to . (to build it)

poker-game's People

Contributors

fhgomes avatar

Stargazers

Fabricio Noda avatar

Watchers

Fabricio Noda avatar  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.