@@ -59,7 +59,7 @@ board.add_team('manager', ['hand_white.png', 'fist_white.png' ], '#cccccc', tru
5959// Set up the team zones based on the number of seats
6060number_of_teams = 8 ;
6161theta = 0.5 * ( 360 / number_of_teams ) * Math . PI / 180.0 ; // Wedge angle in radians
62- R1 = 500 ; // Inner radius of team zones
62+ R1 = 525 ; // Inner radius of team zones
6363R2 = ( R1 * Math . cos ( theta ) + 300 ) / Math . cos ( theta ) ; // Outer radius of team zones
6464board . r_step = 360.0 / number_of_teams ;
6565
@@ -228,8 +228,8 @@ function collect_all_cards() {
228228 }
229229 else {
230230 team_angle = 45 * ( team - 1 ) ;
231- var d = rotate_vector ( R1 * 0.289 , R1 * 0.75 , team_angle ) ;
232- var dd = rotate_vector ( R1 * 0.289 , R1 * 0.77 , team_angle ) ;
231+ var d = rotate_vector ( R1 * 0.27 , R1 * 0.831 , team_angle ) ;
232+ var dd = rotate_vector ( R1 * 0.27 , R1 * 0.853 , team_angle ) ;
233233 }
234234
235235 // collect the cards (pieces,x,y,shuffle,active_image,r_piece,r_stack,offset_x,offset_y,from_top)
@@ -393,7 +393,7 @@ function distribute_folders() {
393393 var p = folders [ i ] ;
394394
395395 // Get the rotated coordinate of the dealt plate
396- var d = rotate_vector ( 0 , - R1 * 0.88 , - i * 45 ) ;
396+ var d = rotate_vector ( 0 , - R1 * 0.883 , - i * 45 ) ;
397397
398398 p . set_target ( d . x , - d . y , - i * 45 ) ;
399399 console . log ( 'pants' , i + 1 , pants . includes ( i + 1 ) ) ;
0 commit comments