' Holomino tiles by J. Lund, nanDECK 1.10be ' Game (c) 2007 by Cameron Browne, www.cameronius.com/games ;include="setup.nde" cardsize=4,4 border=NONE [color_1]=#CC66FF [color_2]=#6699FF [color_3]=#33CC33 [color_4]=#FFFF00 [color_5]=#FF9933 [color_6]=#FF3333 ; Leave room for border thickness, which extends outside circle coordinates. [circCoord]=1%,1%, 98%,98% [borderThick]=0.06 macro=drawWedge, (range), (digit), (angle), (textX), (textY) pie=(range), [circCoord], (angle)-30,(angle)+30, #000000,[color_(digit)],0.02 font="Century Gothic", 15%, "B", #000000,[color_(digit)] text=(range), (digit), (textX)%,(textY)%, 20%,20%, CENTER,CENTER, (angle)+180 end macro=makeTile, (range), (digitA), (digitB), (digitC) drawWedge=(range), "(digitA)", 0, 40,10 drawWedge=(range), "(digitB)", 120, 67,55 drawWedge=(range), "(digitC)", 240, 13,55 ; Outer border ellipse=(range), [circCoord], #CCCCCC,EMPTY,[borderThick] end px[deck]3=1|2|3|4|5|6 makeTile=1-{(deck)}, "[deck:1,1]", "[deck:2,1]", "[deck:3,1]"