TheBlackfish / SweepElite

HTML5 game where multiple players are playing Minesweeper together. Only one game is active at a time
0 stars 0 forks source link

Look into a better system for logging in and signing up for the next game. #76

Closed TheBlackfish closed 8 years ago

TheBlackfish commented 8 years ago

Always have the one game going. Players can sign up and join the current one.

Will have to prevent players from logging out and creating new accounts when they die, though.

TheBlackfish commented 8 years ago

Upcoming signup still works the same.

Upon log-in, check if player is a part of the current game. If not, sign them up and allow them to take actions.

onbeforeunload = log off the player.

MySQL will have to be altered to set an active/inactive state on player logins.

TheBlackfish commented 8 years ago

Store IP addresses to prevent multiple user accounts?

TheBlackfish commented 8 years ago

Partially implemented as of commit #94, splitting up into several issues instead of just one.