koualsky / texas-holdem Goto Github PK
View Code? Open in Web Editor NEWTexas Hold'em Poker Webapp
License: MIT License
Texas Hold'em Poker Webapp
License: MIT License
If game start with 3 players, and player who make decision 'exit game', other players gets stuck.
The same problem as with the 'big blind'.
If player have 'pass' state - player still can make decisions.
If player have 'out' state - game crash.
Counter was counting from 20 to 0.
After this time player gets 'pass' state.
Auto-refresh should refresh game for every player in game if 'decision' player make a decision.
Make that with django channels.
Make 'winner' page
If you are a player who make the last decision in game, you don't see 'play again' button instantly, because you have yet 'check' state instead 'start' state.
After reload, everything is fine.
Game should go to the next game path only, when every player give to the table the same value of money.
But, that not works.
Game start after second player is joining to the game, because first and second player have 'start' state
If in this moment to the game join third player, they have 'out' state.
Big_blind is take from third player if he have 'start' state.
Fix this problem
Chrome devtool error message:
Mixed Content: The page at 'https://DOMAIN/table/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://DOMAIN/ws/chat/1/'. This request has been blocked; this endpoint must be available over WSS.
Code Related:
texas-holdem/game/templates/game/table.html
Lines 366 to 368 in f436878
Being a mixed content issue, it only triggers when the page is loaded through https
From unidentified reason, 'dealer' field disappear from Table model.
But only after call (try it again) table.dealer()
Try turn off that function and try again. Field disappeard now?
When players click 'play again' his old cards stay
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.