pangea-poker icon indicating copy to clipboard operation
pangea-poker copied to clipboard

Name the players consistently on the frontend and backend

Open norbertdragan opened this issue 5 years ago • 1 comments

The front-end originally started naming players with 1, as player1. The backend however, starts counting from 0, as player0. This is causing some unnecessary and sometimes confusing code all around the app.

We should fix it and the frontend should begin counting form 0 to match the backend.

norbertdragan avatar Nov 27 '19 10:11 norbertdragan

A good suggestion is to use constants capture these variable names.

norbertdragan avatar Jan 09 '20 10:01 norbertdragan