NAME
square — a square given as "x,y", kept on the grid
SYNOPSIS
square(s_String, g_Integer, d_List)
PARAMETERS
s: such as "1,1". g: the size of the grid. d: the square to use when s holds no two numbers.
RETURN VALUE
{x, y}, each clipped to 0 … g − 1.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
