Fair and Square solutions

Fair and Square was solved using Groovy by 30 contestants. Solution sizes: average 1513 bytes (shortest: 549; longest: 3942).

The list below is sorted by ranking. You can also sort by solution size.