@kimkvn @phillycc
initial commit, with a file of ConwayGame from previous assignment
working on functino neighborsOf
more testing neighborsOf. After discussion, it we can use (a,b) as the inputs for this function, understanding we're operating with the knowledge we're pulling from a grid we've built as an array-within-an-array. The question is, what do I need the outputs to be? or rather, in what format? Another array? Numbers, simply? Hmm.
added all the conditions for input: cell, output: list of all neighbor cells' coordinates. Ugly and inefficient as sin, but it works. Well. It works in that it gives me a list. What format would the list need to be in?
still neighborsOf testing, what does the output need to look like?
I FIGURED OUT HOW CALL THE ARRAY VALUES WITHIN THE BOARD FUNCTION thanks to Brian's help.
added note to myself regard board()
adjusting neighborsOf to return T/F values of neighboring cells
finished editing neighborsOf() to reflect adding T/F value to the output
whoops, repeated return values for [1][1]
adjusted the order of neighboring cells returned in neighborsOf, so that the robot scans the grid starting at 0,0, left to right, top down.
hitting another wall...I need to count the number of times a cell is true, then compare that value to conway's rules...gah.
hitting a wall with this problem. Right now, adjust neighborsOf function to return neighbors variable which will be used in function Conway