Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
oh .. thanks for help I finally got it. :)
I count not_touched like missed shots and not like not touched boats.
int[,] attacks = { { 2, 1 }, { 2, 2 }, { 3, 2 }, { 3, 3 } };
so when I get this attacks result is
3 0 1
3 0 0
0 0 0
0 0 0
but there is no miss. Every attack hit the boat or am I wrong ?
x 1 2 3
y
4 3 0 1
3 3 0 1
2 0 2 1
1 0 2 0
attack= { {x, y } };
so .. numbers in attacks are represented in this grid, aren't they ?
Hi I have bit trouble with understanding.
301
301
021
020
This is BasicTest2 and there is my outut
301
300
000
000
Im not sure if its correct but if I transfer it to The Board output should is same than mine. Where is the problem ? How actualy this attacks works? Which position they attack on?
Thanks for response :)