Alex
Null object reference when trying to update an instance
I'm trying to code chess but its kinda rough.
https://pastebin.com/YxDs7Wry
https://pastebin.com/AfJQxsi3
https://pastebin.com/BFZVnPN4
If I want to move a piece to a legal square, I try to update the old instance to a new instance by changing the coordinates and assigning the relevant piece art there, but the instances are always null.
1 replies
❔ CS1077 here which I don't know how to resolve. Something to do with the out parameters
https://paste.mod.gg/esakwzvzaedv/0
It wants me to assign some value to the variables but then they're useless
7 replies
❔ Bool method that doesn't work
https://paste.mod.gg/adsjyblwubxp/0
The purpose is to repeat the main method if the user enters a Y but for some reason, no matter what I tweak, it does not work
15 replies
❔ Marks operations system with broken bool
https://paste.mod.gg/ejflkvfqwzqg/0
I use the Average() method for both calculating the average and standard deviation. If Average() is called, it should display the writeline and when the latter is called, it should not. Not sure why it doesn't work and it breaks my brain.
Second problem is the IsAnotherOne() method. It should repeat the main method if the bool is true but once again, my bools are broken
5 replies