Poker Logic
HandRanks
I added the evaluation algorithms to check what hand every player has.
WebSocket
Finally I added the websocket. It still has only its ground features, but I’ll port all of the game functions that I wrote already in the static server to the websocket.
NewCards
I previously handled the cards as Strings and got the rank/suit through charAt(int) but that is not clean and breaks for eg. 10S. I changed it to two enums and the record Card.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.