Giter VIP home page Giter VIP logo

coinche's People

Contributors

dependabot[bot] avatar oliboy50 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sonivre nouira

coinche's Issues

Following up from your upgrade to boardgame.io

Hey @Oliboy50, glad you got your upgrade to the latest boardgame.io working.

In case it’s helpful, this is my understanding of your game flow based on your code using 0.32.1:

State Diagram

There are two phases if we understand phases as states where players make phase-specific moves. Each of them actually only has one next phase: Talk → PlayCards and PlayCards → Talk.

Instead of ending Talk and returning to Talk (via Deal), you would check in turn.onEnd if you need to deal or reset state inside Talk. And similarly with PlayCards you only end the phase once playing cards has ended and the game will either be over (tested by Game.endIf) or pass back to the Talk phase. Does this make sense?

Sorry you had all that trouble with the phase events!

[core] 9 Spade beats 10 Spade on NoTrump?!

and another bug:

  • during Spade TrumpMode, first player played Jack of Club and the second player played a King of Diamond, then the second player is the one winning the round...

in every bugs detected, the player which plays after the round is the first player entering the room ℹ️

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.