current refactor for finite state machine goodness
ok, think I got most of it
kind of working???
lots of necessary changes, I think I fixed the timer issue on the backend and frontend (getting stuck at 0).
made the image a bit bigger, and started giving the large left a way to communicate round state
Score logic equals number of seconds left multiplied by 10
big commit here. Grabbed a list of famous people from an online source, lots of little fixes here and there
Merge remote-tracking branch 'origin/scores' into states
Leaderboard
Leaderboard to display score with names
commented out approach for ending a round early. Seems important to prevent boredom once everyone has guessed. Current attempt leads to weirdness in large_left
Merge remote-tracking branch 'origin/scores' into states
the timer code is atrocious, and needs to be cleaned up and refactored, but for now, it appears to work. If everyone guesses, the round will go to Prepare
switched from session to local storage for our demo to kind of work properly
fixed issue with users logging in with unrecognized uids - just give them a new profile. We can now refresh the backend all we like! yay Also, only publish newlogin event if the new login is actually new, as in, the logged_in property went from false to true. Workaround because we have no way to do logout currently
refactored some code into a shared js
Finished refactoring large-left into a module, and moving timer functions and state enum into the shared file that mobile and large-left both use
renamed the shared filename because it was bugging me