How i can make that cards work in player's hand like this. A) how to add new card to hand and B) how to make them to not overlap each other when there is till space but overlap when there is too more room.
video where that hand card thing is working
Develop games in your browser. Powerful, performant & highly capable.