dnsbty / level10

Phoenix LiveView multiplayer card game

Home Page:https://level10.games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make sure cards being played exist in that player's hand

dnsbty opened this issue · comments

Currently we're just assuming that the player in question has the cards specified in their hand. The server should verify that any cards being played exist in the player's hand before taking them out.

This shouldn't actually be necessary since the websocket receives card indexes rather than the cards themselves, so all of the logic around this is inside the server. As such, I'm going to close this issue.