oliboy50 / coinche Goto Github PK
View Code? Open in Web Editor NEWPlaying card game
License: GNU General Public License v3.0
Playing card game
License: GNU General Public License v3.0
the current behavior is to keep printing everything except the cards
to prevent visual bugs
Nous
/Eux
by the players nameHey @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
:
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!
and another bug:
in every bugs detected, the player which plays after the round is the first player entering the room ℹ️
we should send an HTTP call to the server every 20min because the free heroku server goes idle if we only use websockets
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.