I want, as a part of my game mechanic, to have the player draw lines vertically or horizontally. I want to record those line segments as 4 values (x1, y1, x2, y2) in an bidimensional array (4 x 1000 x 1).
Then easily push/pop those segments and compare them for the in-game mechanics. The documentation only mentions pushing and popping in one dimension and working in one array item at a time, which does not quite cut it. Can I do it with the visual code?