Commit Graph

256 Commits

Author SHA1 Message Date
Andrew Guibert
b334454224 Mechanism for prod deployments 2018-03-28 15:54:08 -05:00
Andrew Guibert
abd22c835c Move service URLs to environment variables 2018-03-28 12:51:32 -05:00
Liam Westby
cc3c4e2c86 Prevent player list from becoming so small that PLAYERS overflowed 2018-03-24 08:15:47 -07:00
Andrew Guibert
040d03abdc Countodown to games starting 2018-03-22 11:40:41 -07:00
orcook
122d7feadb 3x3 player 2018-03-21 17:42:55 -05:00
Liam Westby
dd400772f4 Theme and Angularize the game page 2018-03-20 18:05:21 -05:00
Liam Westby
ea24f17366 Fix incorrect game ID not showing error 2018-03-19 17:40:53 -05:00
Liam Westby
64d6fbc992 Convert websocket to rxjs subject
Introduce services to subscribe to this subject and handle converting message formats
2018-03-19 17:26:32 -05:00
Liam Westby
d628a8e848 Convert from jquery to angular httpclient 2018-03-19 17:21:45 -05:00
orcook
ff4e05d583 Don't send game updates to phone players 2018-03-14 15:46:05 -05:00
Olen Cook
f443dc283c
Merge pull request from olendvcook/obstacleDisplay
fix obstacle drawing, improve collisions
2018-03-14 10:19:08 -05:00
orcook
51cdce7f0e fix obstacle drawing, improve collisions 2018-03-13 17:25:09 -05:00
Liam Westby
6068d0e93c Refinements 2018-03-13 17:01:15 -05:00
Liam Westby
5379d248e1 Restyle login page 2018-03-13 17:01:15 -05:00
Liam Westby
6312c67d34 Fix joining game as phone
The name was not changed over to use ID
2018-03-13 16:35:45 -05:00
Andrew Guibert
abbcefb612 Update game-service to operate on player IDs instead of just names 2018-03-09 14:39:15 -06:00
orcook
768acd6382 Make RoundId length 4 and fix auto-requeue 2018-03-09 13:51:07 -06:00
orcook
b693a93853 tests/ minor bugs/ comments/ for Moving Obstacles 2018-03-08 15:36:34 -06:00
orcook
ff904a8c6e basic moving boxes added 2018-03-08 15:31:01 -06:00
Liam Westby
aac082282e Run npm update
github yelled at me about having a vulnerable dependency so I let npm update everything.
2018-03-07 22:36:03 -06:00
Liam Westby
c3168fa794 Use triangular hotspots for controls 2018-03-07 15:55:32 -06:00
Liam Westby
14a3c86fbf Second pass: replace with canvas and do hit detection ourselves 2018-03-07 13:29:35 -06:00
Andrew Guibert
3b0a3ff798 Disable auto-correct on game code input and auto-uppercase letters 2018-03-06 22:10:31 -06:00
Liam Westby
971d6e15d7 First pass of controller layout
This is possibly going to be the hardest page to get right.
2018-03-06 17:16:03 -06:00
Liam Westby
cdd4e94480 Better display of the game page on tablets 2018-03-06 09:40:35 -06:00
Liam Westby
d72e308de3 Enhance game code display.
We may want to revisit only showing the code to spectators in the future.
2018-03-06 09:40:15 -06:00
Liam Westby
fead49a56a Display game code with more contrast 2018-03-05 22:06:28 -06:00
Liam Westby
54ea304e09 Introduce a grid layout to the game page 2018-03-05 20:11:54 -06:00
Liam Westby
238aa2a198 Move to SCSS 2018-02-20 16:55:16 -06:00
Liam Westby
0ba5bac9ea Autofocus first input 2018-02-20 16:55:16 -06:00
Liam Westby
dcdab79b9b A possible login page layout 2018-02-20 16:55:16 -06:00
Liam Westby
13c6b9bdc7 Set fonts for the entire website 2018-02-20 16:55:16 -06:00
Liam Westby
53a9641d52 Use a variable for font styel 2018-02-20 11:57:08 -06:00
Liam Westby
ef33c25cd6 Convert to styles to SASS 2018-02-20 09:11:47 -06:00
Liam Westby
33743d15aa Reduce frontend feature set to just servlet-4.0 2018-02-20 09:02:39 -06:00
Andrew Guibert
8a01ae58e8 Make game ID more readable 2018-02-14 23:30:06 -06:00
Andrew Guibert
15f538e673 Fix eclipse classpath generation 2018-02-14 23:26:52 -06:00
Liam Westby
20e45e3607 Create Controls component 2018-02-14 22:24:25 -06:00
Liam Westby
65ae883ce6 Refactor whiteboard functionality into GameComponent and share WebSocket 2018-02-14 14:37:20 -06:00
Liam Westby
427d5d96c3 Some development environment tweaks 2018-02-14 14:36:40 -06:00
Andrew Guibert
13e01f091d Implement non-moving obstacles 2018-02-14 12:08:48 -06:00
orcook
54ee49c239 use JsonB for join round validation 2018-02-14 10:47:39 -06:00
orcook
47ed3fb16a move validation check to frontend 2018-02-13 18:04:20 -06:00
orcook
914cc65457 don't let players join full/finished/started/invalid games 2018-02-13 15:39:21 -06:00
Liam Westby
6a5c60eff0 Fix spectating games in Safari 2018-02-13 11:04:20 -06:00
Andrew Guibert
9f847f6818 Review comments 2018-02-12 14:07:10 -06:00
Andrew Guibert
8b4ded5fab Don't restrict http endpoints to localhost 2018-02-10 00:37:22 -06:00
Andrew Guibert
f150f69568 Remove ability to pause games 2018-02-09 23:41:47 -06:00
Andrew Guibert
4f7a0846e8 Implement game hosting as a non-player 2018-02-09 22:50:15 -06:00
Andrew Guibert
9ef789acba Fix bug when two moves occur in a single game tick 2018-02-09 13:54:50 -06:00
Andrew Guibert
393861b297 Control player size in pixels on frontend 2018-02-09 11:23:48 -06:00
Andrew Guibert
e5177c652f Transmit player locations more efficiently
Instead of sending each individual player location update to each client on every game tick, instead send all player locations as an array in a single message.  This cuts down the amount of messages per game tick from 16messages to 4 (when 4 players are involved).

Also, fix a bug that would allow players to move backwards on themselves if they change direction more than once per game tick.
2018-02-09 10:53:44 -06:00
Andrew Guibert
93082f3d59 Fix UI styling after move to Bootstrap 4 2018-02-09 10:16:12 -06:00
Andrew Guibert
20c8630a43 Clean up img files and duplicate static resources 2018-02-08 16:09:20 -06:00
Andrew Guibert
58a2059070 Add CORS filter for game service 2018-02-08 14:29:19 -06:00
Liam Westby
f70f50e09d Port frontend to angular 2018-02-06 20:56:31 -06:00