Commit Graph

277 Commits

Author SHA1 Message Date
Andrew Guibert
72e486b01d Implement rating system 2018-04-06 23:05:45 -05:00
Andrew Guibert
c07eac5414 Initial draft of leaderboard 2018-04-06 22:20:06 -05:00
Andrew Guibert
0c09785857 Implement quick join 2018-04-05 14:45:18 -05:00
ryanesch
4f474a30c9
Merge pull request #59 from ryanesch/obstaclemovement
update obstacle movement
2018-04-05 14:10:10 -05:00
Ryan Esch
73e483a901 update obstacle movement 2018-04-05 13:31:17 -05:00
Andrew Guibert
35cb80465a Proper text overflow for long player names 2018-04-05 13:21:01 -05:00
Andrew Guibert
e389eef652 Combine desktop/mobile login buttons 2018-04-05 13:19:45 -05:00
Andrew Guibert
81012a9add Placeholder player status images 2018-04-05 10:36:41 -05:00
Andrew Guibert
33c1b0bc4e Send heartbeat to clients every 100 sec to prevent cloud timeouts. Also fix bugs in requeue flow 2018-03-31 17:13:52 -05:00
Liam Westby
bdba9ca086
Merge pull request #53 from realModusOperandi/landscape-controls
Landscape controls
2018-03-29 14:26:38 -05:00
orcook
c173b5facd Ai framework and basic bot AI 2018-03-29 14:08:41 -05:00
Liam Westby
f5c73f1af2 Improve landscape layout across device sizes 2018-03-29 11:29:01 -05:00
Liam Westby
55078e8b24 Only request animation frames when needed 2018-03-29 11:28:34 -05:00
Liam Westby
11366c662c Always scroll to top when resizing 2018-03-29 09:30:39 -05:00
Liam Westby
7e3d73aa1c Better layout in landscape 2018-03-29 09:30:20 -05:00
Liam Westby
27cb480d48 Change URLs to use the current host rather than hardcoding localhost 2018-03-29 09:24:32 -05:00
Liam Westby
c47c579a17 Allow dragging finger to change direction 2018-03-28 17:32:12 -05:00
Liam Westby
54306a0173 Rework portrait mode layout 2018-03-28 17:31:52 -05:00
Liam Westby
4f913da5ff Draw controller on the canvas manually 2018-03-28 16:23:07 -05:00
Liam Westby
b4c5b16881 Prototype drawing the controller on the canvas 2018-03-28 16:23:07 -05:00
Liam Westby
6f237f3a11 Clean up controls scss 2018-03-28 16:23:07 -05:00
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 #39 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