Commit Graph

104 Commits

Author SHA1 Message Date
ryanesch
2830757f12
Merge pull request #58 from ryanesch/trail
fix trail
2018-04-04 15:08:07 -05:00
Ryan Esch
4dc15ab6e0 fix trail 2018-04-04 14:39:08 -05:00
Andrew Guibert
0595e97473 Add a check to observe session timeouts in cloud env 2018-03-31 18:26:32 -05:00
Andrew Guibert
912cb9a7b4 Attempt to keep players in the same starting locations across multiple rounds 2018-03-31 18:26:11 -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
Andrew Guibert
a39f966cb9 Send player list in reliable order and pad empty slots with bots 2018-03-30 16:36:08 -05:00
Andrew Guibert
a4b84fa471 Disable noisy logging by default 2018-03-30 16:35:38 -05:00
orcook
3a7eeab937 Hal Update 2018-03-30 14:19:19 -05:00
orcook
7c2a548d73 move AI storage to players 2018-03-29 14:08:42 -05:00
orcook
009c133402 AI 2nd pass, don't extend player calls anymore 2018-03-29 14:08:41 -05:00
orcook
c173b5facd Ai framework and basic bot AI 2018-03-29 14:08:41 -05:00
orcook
ec905312c2 stop players killing themselves from quick direction changes 2018-03-23 11:17:46 -05: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
9d371acc52 Rename method to work around JSONB bug 2018-03-16 15:17:40 -05:00
orcook
56a608fb8c filter out phone sessions instead of seperate map 2018-03-14 17:39:28 -05:00
orcook
ff4e05d583 Don't send game updates to phone players 2018-03-14 15:46:05 -05:00
orcook
51cdce7f0e fix obstacle drawing, improve collisions 2018-03-13 17:25:09 -05:00
orcook
4d7d8dd4d4 clear up player spot on board when they leave before game starts 2018-03-13 14:21:53 -05:00
orcook
73d258644b Show disconnected players after game starts 2018-03-13 13:10:13 -05:00
orcook
817cb8ef46 Fix Obstacle Collision 2018-03-12 16:29:24 -05:00
Andrew Guibert
1061fc4264 Have game-service send stat updates to player-service 2018-03-11 12:29:49 -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
Andrew Guibert
ac3d2387b1 Upgrade to MicroProfile 1.3 2018-03-09 14:20:26 -06:00
orcook
768acd6382 Make RoundId length 4 and fix auto-requeue 2018-03-09 13:51:07 -06:00
orcook
c907863b90 move enum out of specific class 2018-03-08 16:48:12 -06:00
orcook
b693a93853 tests/ minor bugs/ comments/ for Moving Obstacles 2018-03-08 15:36:34 -06:00
orcook
b3af00475d Object collisions 2018-03-08 15:31:01 -06:00
orcook
3f41f8b712 convert board to short 2018-03-08 15:31:01 -06:00
orcook
ff904a8c6e basic moving boxes added 2018-03-08 15:31:01 -06:00
Andrew Guibert
15f538e673 Fix eclipse classpath generation 2018-02-14 23:26:52 -06:00
Andrew Guibert
5bce921a0c Fix bug where non-Alive players did not show up in playerlist 2018-02-14 12:36:51 -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
Andrew Guibert
8b4ded5fab Don't restrict http endpoints to localhost 2018-02-10 00:37:22 -06:00
Andrew Guibert
091a094d36 Automatically re-queue spectators to next round after 5s 2018-02-10 00:22:09 -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
20c8630a43 Clean up img files and duplicate static resources 2018-02-08 16:09:20 -06:00
Andrew Guibert
34d0458af7 Shorten game IDs from a full UUID to 6 chars A-Z 2018-02-08 15:19:00 -06:00
Andrew Guibert
537b4508d1 Check in eclipse formatting settings 2018-02-08 15:17:14 -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
Andrew Guibert
5cadd66cfe Implement game requeue with session following 2018-01-28 21:56:01 -06:00
Andrew Guibert
cd38b43b66 Parse client JSON messages using JSON-B instead of JSON-P 2018-01-28 21:16:47 -06:00
Andrew Guibert
f90f0ff4ea Divide game service into separate rounds 2018-01-28 21:06:16 -06:00
Andrew Guibert
ef426eaca0 Check in .classpath files because eclipse sets wrong dir for .class files 2018-01-28 15:07:04 -06:00
Andrew Guibert
6f228ce0d2 Initial copy of player-service 2018-01-18 00:28:28 -06:00
Andrew Guibert
67985d39fc Convert project to multi-module structure 2018-01-17 23:44:29 -06:00