9 Replies
if you want a loop, you have to loop on the data
somewhere you have to have an array of coordinates
then you could for example
or something like that
or you could for example first create an array with all the data
and the apply it on theGrid
how would i set it up
what would knightmove be?
well you need just two ints
something like
(int offsetX, int offsetY)[] knightMovesCoordinates = new...
or maybe you could use an object if you already have it memorized somewhere as readonlyim using forms btw
would it work the same with this
this what i got
could get this down to something like,
I got it working
Thx
close with
/close
👍