Replying to twitter.com/petecorey/status/1139182470585233408
I’m using a list with an element for each position on the board. Whenever a stone is placed, I List.replace_at
to replace the default nil
value with either :black
or :white
. :)
I’m using a list with an element for each position on the board. Whenever a stone is placed, I List.replace_at
to replace the default nil
value with either :black
or :white
. :)