Sorrel Bri
|
b8eb3770d9
|
deprecate Game.v1
|
2020-05-02 23:00:20 -07:00 |
|
Sorrel Bri
|
a99426e03f
|
Game.returnToMove(x) where x >= 0 returns game state at move x
|
2020-05-02 22:04:22 -07:00 |
|
Sorrel Bri
|
d51e3f72f4
|
init Game.returnToMove(x) where x < 0 rewinds x number of moves
|
2020-05-02 21:25:54 -07:00 |
|
Sorrel Bri
|
bdeb9c9d86
|
init Game.returnToMove
|
2020-05-02 21:11:54 -07:00 |
|
Sorrel Bri
|
88e51fdbf9
|
add clearKo to Game called after makeMove is verified as legal
|
2020-05-02 20:30:28 -07:00 |
|
Sorrel Bri
|
2237e344c1
|
patch ko bug preventing snapback
|
2020-05-02 20:18:21 -07:00 |
|
Sorrel Bri
|
5ad997d276
|
add ko check to makeCaptures
|
2020-05-02 01:35:41 -07:00 |
|
Sorrel Bri
|
9646656f7a
|
patch checkLegal logic for capturing Set to support snapback
|
2020-05-01 22:58:59 -07:00 |
|
Sorrel Bri
|
1142c1d448
|
refactor Point.capturing to Set to handle adjascent stones in same group
|
2020-04-30 23:45:19 -07:00 |
|
Sorrel Bri
|
e9d94d1fad
|
green all capture tests
|
2020-04-30 23:12:11 -07:00 |
|
Sorrel Bri
|
1a1e5121d7
|
refactor Game.v2 to remove side effects
|
2020-04-30 23:01:30 -07:00 |
|
Sorrel Bri
|
a5fbeea929
|
add makeCaptures to Point
|
2020-04-29 22:24:27 -07:00 |
|
Sorrel Bri
|
13a882d212
|
add checkCaptures to Point, called during makeMove
|
2020-04-29 21:02:01 -07:00 |
|
Sorrel Bri
|
96af52823d
|
add logic to prevent move at group's final liberty
|
2020-04-26 17:45:35 -07:00 |
|
Sorrel Bri
|
9164ee5987
|
add support for group joining moves at points with no liberties
|
2020-04-26 00:13:25 -07:00 |
|
Sorrel Bri
|
4a90b933a7
|
add logic for legal check that prevents moves at points with no liberties
|
2020-04-24 00:16:31 -07:00 |
|
Sorrel Bri
|
089783c82d
|
add setLiberties to Point and refactor groups object to include liberties for each group
|
2020-04-23 00:24:12 -07:00 |
|
Sorrel Bri
|
e553601af7
|
add join group logic to Point, triggered by Game.makeMove
|
2020-04-22 23:17:46 -07:00 |
|
Sorrel Bri
|
b1f29f3d2d
|
refactor getNeighbors in initBoard for array index lookup instead of boardState.find(...)
|
2020-04-20 17:39:52 -07:00 |
|
Sorrel Bri
|
bdfb6ebe85
|
add getNeighbors to initBoard() allowing Points to directly reference neighbors
|
2020-04-20 17:34:49 -07:00 |
|
Sorrel Bri
|
a54d4bf7e4
|
stub makeMove in Game v2 API
|
2020-04-19 22:58:26 -07:00 |
|
Sorrel Bri
|
37db281d08
|
add getMeta to Game API
|
2020-04-19 22:26:04 -07:00 |
|
Sorrel Bri
|
41e6e662e9
|
initialize board for all board sizes and handicap amounts
|
2020-04-19 15:02:09 -07:00 |
|
Sorrel Bri
|
8fb1b80cb6
|
add initGame to v2 Game logic service
|
2020-04-18 20:04:00 -07:00 |
|
Sorrel Bri
|
e53a8f4f2a
|
Merge branch 'game_logic'
|
2020-04-17 17:17:18 -07:00 |
|
Sorrel Bri
|
7408e409aa
|
patch userValidator middleware to remove deprecated sanitize function
|
2020-04-17 17:14:31 -07:00 |
|
Sorrel Bri
|
dde97e2a1f
|
patch lerna bootstrap command
|
2020-04-16 23:19:39 -07:00 |
|
Sorrel Bri
|
2c39fe1156
|
patch Game logic neighboring stone bug
|
2020-04-16 20:28:40 -07:00 |
|
Sorrel Bri
|
c54dcb41a8
|
stub RoomDetail component
|
2020-04-12 00:19:21 -07:00 |
|
sorrelbri
|
316396f218
|
remove psql references from circleci config and test suite
|
2020-02-10 22:09:07 -08:00 |
|
sorrelbri
|
8f18d0685c
|
remove psql references from circleci config and test suite
|
2020-02-10 22:07:35 -08:00 |
|
sorrelbri
|
7b63a2f76d
|
remove psql references from circleci config and test suite
|
2020-02-10 22:05:33 -08:00 |
|
sorrelbri
|
29f3385ba8
|
collect dev dependencies in root package.json
|
2020-02-05 17:07:08 -08:00 |
|
sorrelbri
|
e69aa9b326
|
package server and play-node-go
|
2020-02-05 16:54:09 -08:00 |
|
Sorrel Bri
|
7223d98c36
|
init lerna
|
2020-02-05 16:45:28 -08:00 |
|
Sorrel Bri
|
497db97161
|
stub nav form styles and fix board span bug
|
2020-02-05 16:45:28 -08:00 |
|
Sorrel Bri
|
a29431e67d
|
decoupled show Auth form logic from Home sidebar for use in other sidebars on Auth errors
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
72fb0ae243
|
style player area on game screen
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
72a533a285
|
stub render board state from make_move
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
9b82236283
|
stub make move socket message to add move to game
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
23cd485cbb
|
refactor make move to serve game meta data with game record
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
76f29cf9d3
|
check legality of move prior to posting
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
be294f669c
|
stub make move to game service
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
95724c39db
|
stub game services to store active games
|
2020-02-05 16:45:27 -08:00 |
|
Sorrel Bri
|
4851f31744
|
stub board on game page
|
2020-02-05 16:45:26 -08:00 |
|
Sorrel Bri
|
e0830bed5c
|
stub Game components
|
2020-02-05 16:45:26 -08:00 |
|
Sorrel Bri
|
f37def2688
|
add seed moves
|
2020-02-05 16:45:26 -08:00 |
|
Sorrel Bri
|
fb9bc0d8cf
|
stub game connection via socket room
|
2020-02-05 16:45:26 -08:00 |
|
Sorrel Bri
|
fd72f135dd
|
stub game connection via socket room
|
2020-02-05 16:45:26 -08:00 |
|
Sorrel Bri
|
d6ec6c3163
|
patch to cleanup reducer directory filenames
|
2020-02-05 16:45:26 -08:00 |
|