Commit graph

49 commits

Author SHA1 Message Date
Sorrel Bri
f88b9e3fa2 add styling for pieces 2019-08-08 14:49:45 -07:00
Sorrel Bri
d859d988f0 add New Game button 2019-08-08 12:37:13 -07:00
Sorrel Bri
1d9afdfd6d add render hoshi on game start 2019-08-08 12:22:33 -07:00
Sorrel Bri
eaa25b91ca fix board style on small device, menu style on large device 2019-08-08 11:45:03 -07:00
Sorrel Bri
c82f3da5af fix large board territory render bug 2019-08-08 10:09:59 -07:00
Sorrel Bri
ddefdf3655 add board size selection and rendering 2019-08-07 23:52:13 -07:00
Sorrel Bri
8299f02c42 fix komi suggestion bug, add style 2019-08-07 17:46:56 -07:00
Sorrel Bri
bc79e3ca8e add game init functions 2019-08-07 17:03:04 -07:00
Sorrel Bri
793d2bbb06 add player input 2019-08-07 16:26:24 -07:00
Sorrel Bri
70e0e18815 finish endgame board calculation logic 2019-08-07 15:08:55 -07:00
Sorrel Bri
201407b8ea debug territory count at endgame 2019-08-07 12:45:58 -07:00
Sorrel Bri
11c17f6d0e add user score submission 2019-08-06 23:13:23 -07:00
Sorrel Bri
64282bd55d fix empty point grouping bug 2019-08-06 19:11:51 -07:00
Sorrel Bri
7461b16125 fix ponnuki bug 2019-08-06 18:13:34 -07:00
Sorrel Bri
589053dc8d add resign and pass endgame 2019-08-06 16:36:39 -07:00
Sorrel Bri
3d9aca00f9 add player, game metadata function 2019-08-06 15:25:58 -07:00
Sorrel Bri
358bfe20d4 begin endgame logic, render dame 2019-08-06 14:13:51 -07:00
Sorrel Bri
dcc21638e8 add menu styling and begin form submission 2019-08-06 11:22:43 -07:00
Sorrel Bri
cb78de4913 refactor ko 2019-08-06 00:00:00 -07:00
Sorrel Bri
ac1c595b70 refactor all move logic to account for group tracking 2019-08-05 23:44:07 -07:00
Sorrel Bri
48c061919f fix capture jamming in long groups bug 2019-08-05 16:13:23 -07:00
Sorrel Bri
75b2feca43 fix capture group bug 2019-08-05 13:56:54 -07:00
Sorrel Bri
d23eb24c84 fix capture count bug 2019-08-05 11:41:22 -07:00
Sorrel Bri
bab288f82c add render marker for player turn, push move to game record 2019-08-05 11:37:03 -07:00
Sorrel Bri
1cd4eb52cb refactor group and capture logic 2019-08-05 10:50:06 -07:00
Sorrel Bri
9175d11dff fix bug in friendly groups 2019-08-03 22:52:33 -07:00
Sorrel Bri
da75b4ef77 add check for life through friendly groups 2019-08-03 22:40:45 -07:00
Sorrel Bri
07c9ea8fa7 fix friendly group bug 2019-08-03 21:53:22 -07:00
Sorrel Bri
0a8fff1902 add capture tracker on DOM 2019-08-03 21:38:31 -07:00
Sorrel Bri
fb106d858c add ko logic and render 2019-08-03 21:17:23 -07:00
Sorrel Bri
8ed69b3b0a layout modal menu, add capture logic 2019-08-03 20:43:57 -07:00
Sorrel Bri
4f7b8cad10 fix flex display 2019-08-03 19:42:39 -07:00
Sorrel Bri
c5aa20029a fix overlay property bugs 2019-08-03 19:21:02 -07:00
Sorrel Bri
4ab3edbe78 correct legal move logic for surrounding opposing stones 2019-08-03 17:20:52 -07:00
Sorrel Bri
c828fad0b4 correct legal move logic for surrounding friendly stones 2019-08-03 16:59:56 -07:00
Sorrel Bri
76ef4038ec create check capture method for legal move check 2019-08-03 15:01:50 -07:00
Sorrel Bri
9dc9b4686f create empty neighbor method for legal move check 2019-08-03 14:15:17 -07:00
Sorrel Bri
56a0f22e8d add simple move logic, preview and move rendering 2019-08-02 23:42:49 -07:00
Sorrel Bri
39eb90be67 add board index, click and hover listeners 2019-08-02 21:19:31 -07:00
Sorrel Bri
8f07e5bfcd add data structures, basic style 2019-08-02 14:14:23 -07:00
Sorrel Bri
d5b56f25c9 plan project 2019-08-01 17:10:56 -07:00
jim-clark
e2b5173957 Finish 2019-07-26 15:29:11 -07:00
jim-clark
db44e80cb7 Update message - whose turn it is 2019-07-26 15:11:22 -07:00
jim-clark
f7ef285292 Hide/show markers 2019-07-26 14:48:06 -07:00
jim-clark
d43d48362b Update state and call render in handleClick 2019-07-26 14:34:20 -07:00
jim-clark
26002d06c3 Add render and stub up event listener 2019-07-26 13:58:18 -07:00
jim-clark
c0c81275fa Style circles and initialize state 2019-07-26 11:02:30 -07:00
jim-clark
ad4b748239 Add circles 2019-07-26 10:17:23 -07:00
jim-clark
5d78c3e138 Set up boilerplate 2019-07-26 09:59:47 -07:00