norkator / poker-pocket-backend

Nitramite Poker Pocket light weight NodeJS poker game backend
https://pokerpocket.nitramite.com
MIT License
31 stars 20 forks source link

Add playerTimeLeft #23

Closed shrpne closed 1 year ago

shrpne commented 1 year ago

I added timeLeft in milliseconds, it may be useful, for example, if you want to show an alert when player has very few seconds left.

Also I made it to store playerTimeLeft instead of playerTimeBar, so time bar will be derived value and we will not need to store 2 values