C
C#10mo ago
wolf 301

help for a console game

https://paste.mod.gg/awfzivgypacb/0 in the MovePiece() method there are 3 Console.WriteLine statements, their results are: 1 1 0 but between the second and the third one there is nothing that changes the value
BlazeBin - awfzivgypacb
A tool for sharing your source code with the world!
1 Reply
cap5lut
cap5lut10mo ago
set a breakpoint at the MovePiece(...) start and go through step by step and see whats going wrong with the debugger https://learn.microsoft.com/en-us/visualstudio/debugger/debugger-feature-tour?view=vs-2022
First look at the debugger - Visual Studio (Windows)
Get started debugging your applications by using the Visual Studio debugger and see what your code is doing while it runs.
Want results from more Discord servers?
Add your server