Commit graph

672 commits

Author SHA1 Message Date
Sorrel Bri
3ca3e28d45 git init 2020-02-05 16:45:13 -08:00
Sorrel Bri
baa843feeb init lerna 2020-02-05 16:45:13 -08:00
Sorrel Bri
d087671cf2 stub nav form styles and fix board span bug 2020-02-05 16:45:13 -08:00
Sorrel Bri
d58eb95c76 decoupled show Auth form logic from Home sidebar for use in other sidebars on Auth errors 2020-02-05 16:45:13 -08:00
Sorrel Bri
eb5df6069c style player area on game screen 2020-02-05 16:45:13 -08:00
Sorrel Bri
ca98733365 stub render board state from make_move 2020-02-05 16:45:13 -08:00
Sorrel Bri
2d04f40bd6 stub make move socket message to add move to game 2020-02-05 16:45:13 -08:00
Sorrel Bri
8310307460 refactor make move to serve game meta data with game record 2020-02-05 16:45:13 -08:00
Sorrel Bri
d2d34ff658 check legality of move prior to posting 2020-02-05 16:45:13 -08:00
Sorrel Bri
b38637d3c8 stub make move to game service 2020-02-05 16:45:13 -08:00
Sorrel Bri
d83a58dcb4 stub game services to store active games 2020-02-05 16:45:12 -08:00
Sorrel Bri
b294e009d3 stub board on game page 2020-02-05 16:45:12 -08:00
Sorrel Bri
9a20746b78 stub Game components 2020-02-05 16:45:12 -08:00
Sorrel Bri
3ecb5889c1 add seed moves 2020-02-05 16:45:12 -08:00
Sorrel Bri
5651e1fa4c stub game connection via socket room 2020-02-05 16:45:12 -08:00
Sorrel Bri
e02746cb67 stub game connection via socket room 2020-02-05 16:45:12 -08:00
Sorrel Bri
6a5ae9cc71 patch to cleanup reducer directory filenames 2020-02-05 16:45:12 -08:00
Sorrel Bri
638e57dd29 stub default falsey values for initState function to prevent crash on 500 2020-02-05 16:45:12 -08:00
Sorrel Bri
9f5842703b create Loading component with pinwheel ko animation 2020-02-05 16:45:12 -08:00
Sorrel Bri
a58c2ed04a add table styling to game buttons in game room 2020-02-05 16:45:12 -08:00
Sorrel Bri
c853cb2ad8 refactor all jsx to BEM 2020-02-05 16:45:11 -08:00
Sorrel Bri
e1515db88c debug room socket connect dispatch 2020-02-05 16:45:11 -08:00
Sorrel Bri
16468fb907 refactor sockets to be launched with namespace by components 2020-02-05 16:45:11 -08:00
Sorrel Bri
6f8b68a354 refacor sockets on server and client to utilize dispatch for socket meessages 2020-02-05 16:45:11 -08:00
Sorrel Bri
7f1386f7a7 stub socket connection to game id namespace 2020-02-05 16:45:11 -08:00
Sorrel Bri
c033e3558a stub socket connection to game id namespace 2020-02-05 16:45:11 -08:00
Sorrel Bri
07af4e7be5 stub games/:id endpoint to join game socket room 2020-02-05 16:45:11 -08:00
Sorrel Bri
d7c024e286 refactor join_game_request to require unique users 2020-02-05 16:45:11 -08:00
Sorrel Bri
a3180b0bde connect join_game_request socket at client and server 2020-02-05 16:45:11 -08:00
Sorrel Bri
f6d4ed49ca patch rooms/:id failure to return multiple games 2020-02-05 16:45:10 -08:00
Sorrel Bri
e3ce466bb4 patch no-query bug in rooms/ endpoint 2020-02-05 16:45:10 -08:00
Sorrel Bri
34c3b34ada refactor api rooms/:id endpoint to deliver current room without table join 2020-02-05 16:45:10 -08:00
Sorrel Bri
c21807adc8 stub room display with messages and game link 2020-02-05 16:45:10 -08:00
Sorrel Bri
9c3fbb9572 dispatch all room data to state upon rooms/:id 2020-02-05 16:45:10 -08:00
Sorrel Bri
40dbe487e1 refactor api room endpoint to return unjoined game room data 2020-02-05 16:45:10 -08:00
Sorrel Bri
ebd76baac6 add SET_MESSAGES to reducer 2020-02-05 16:45:10 -08:00
Sorrel Bri
95e54df9fd refactor services and reducers to parse JSON before data hits dispatch 2020-02-05 16:45:10 -08:00
Sorrel Bri
16adb58cb0 add client routing to rooms/:id, move socket(rooms/roomId) connect from Home page to Room page 2020-02-05 16:45:09 -08:00
Sorrel Bri
007a5c96d6 serve room with message data from api/v1/rooms/:id 2020-02-05 16:45:09 -08:00
Sorrel Bri
b3d05639ad serve room with joined game data from api/v1/rooms/:id 2020-02-05 16:45:09 -08:00
Sorrel Bri
5867c0ddd9 stub room socket connection (client + server) 2020-02-05 16:45:09 -08:00
Sorrel Bri
603201d45c add message table with migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
33141284eb add move table with migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
3f8d898f43 add game table with seed and migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
99a616fe37 add time_setting table with seed and migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
5addf9ace0 patch remove unnecessary socket.io cookie 2020-02-05 16:45:09 -08:00
Sorrel Bri
8aa84d4abe Merge branch 'gameroom_endpoint' 2020-02-05 16:45:09 -08:00
Sorrel Bri
d3b3028adf patch https cookies in production 2020-02-05 16:45:09 -08:00
Sorrel Bri
9729d15ff2 patch https cookies in production 2020-02-05 16:45:08 -08:00
Sorrel Bri
cba61a78e9 hook SET_ROOMS into rooms Service 2020-02-05 16:45:08 -08:00