Skip to content

Close #16, strip out and refactor all the guts of the app! #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Jul 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
cbb8254
Set editor to default to read-only mode
LearningNerd Jul 4, 2017
4da64d1
Refactor global vars to gameState, rename stuff
LearningNerd Jul 4, 2017
ffb8b78
Refactor player list, add helper functions
LearningNerd Jul 4, 2017
1f579c2
Add new events list, rename some events
LearningNerd Jul 4, 2017
bd96b1f
Refactor game start on server
LearningNerd Jul 4, 2017
87a16e5
Refactor turn timer on server
LearningNerd Jul 4, 2017
dbf7d64
Add handleGameState to client, more refactoring
LearningNerd Jul 4, 2017
3a9a59c
Close #18, only current player can type
LearningNerd Jul 4, 2017
27303e6
Refactor handleTurnChange on client, more state edits
LearningNerd Jul 4, 2017
bdc0252
Refactor getCurrentPlayer(), not ...ById()
LearningNerd Jul 4, 2017
bfdaa7f
Refactor handlePlayerJoined, other odds and ends
LearningNerd Jul 4, 2017
00d125d
Remove handleUserNameChange(), preventUserTyping()
LearningNerd Jul 4, 2017
45165b6
Fix small typo in handleUserJoined
LearningNerd Jul 4, 2017
11821ef
Close #14, verify newGist event on server
LearningNerd Jul 4, 2017
0e04f6a
Add playerLeft event to server and refactor
LearningNerd Jul 4, 2017
2927951
Add handlePlayerLeft on client, refactor more
LearningNerd Jul 4, 2017
79e7aa4
Add new SocketIO event listeners on client
LearningNerd Jul 4, 2017
af53283
Refactor updatePlayerListView and similar
LearningNerd Jul 5, 2017
b1cbac5
Unrefactor turn timer, use timestamp on both!
LearningNerd Jul 6, 2017
b449700
Refactor togglePlayerHighlight
LearningNerd Jul 7, 2017
bc46d77
Send disconnected player ID with turnChange
LearningNerd Jul 7, 2017
8e82430
Fix Gist creation so it actually triggers!
LearningNerd Jul 7, 2017
7f83142
Fix getPreviousPlayer() math
LearningNerd Jul 7, 2017
7bdb8dc
Fix Gist state updates
LearningNerd Jul 7, 2017
37b3dcf
Update turnIndex on disconnect event if needed
LearningNerd Jul 10, 2017
3562b08
Refactor turnChange event to only send a Boolean
LearningNerd Jul 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading