Hello, so I was following a youtube chess game tutorial and I got stuck with this problem (on the first screenshot). I did everything on the video (https://www.youtube.com/watch?v=jzCxywhTAUI&t=1783s) yet I cant solve the issue, I tried giving activeP parameters by creating a new piece object like " Piece activeP = new Piece(WHITE,1,2);". The error disappears by doing so but I still can't move the chess piece. It feels like the issue is easy to solve but I just can't find the solution. I am not very good with Java so if anyone can help me with it I would very happy
I coded chess in Java and this is how I did it.
It looked simple enough but boy, it was much more complicated than I thought! I was surprised at how much you can learn by coding this little old game.
You can download the chess piece images in the video from here:
https://ryisnow.itch.io/pixel-art-chess-piece-images
About Game Loop:
https://...