Answer the question
In order to leave comments, you need to log in
What is the best way to fix code in C# - sokoban?
Hello. What is the best way to fix the code? https://github.com/maksmkv/Sokoban . More interested in the code sections of the check that the stone hit the target:
if (map[x, y-1] == 'p')
{
map[x, y] = 'g';
g.DrawImage(image6, x * 32, (y-1) * 32);
positionBall = positionBall + 1;
return true;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question