#help with chess project

1 messages ยท Page 1 of 1 (latest)

versed scarab
#

I am running into an issue where my methods in the board class which check the horizontal, vertical, diagonal, and verify source and destination and the tests i run are saying they do not work properly

hoary ermineBOT
#

<@&987246399047479336> please have a look, thanks.

hoary ermineBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

that they are failing. Can you provide more information about the specific issue you are facing? Additionally, it would be helpful if you could share the code for your methods and tests so that we can better understand the problem and provide appropriate assistance.

hoary ermineBOT
versed scarab
#

here are the classes

versed scarab
#

hello?

outer drum
# versed scarab hello?

You messaged when the server tends to be inactive, wait a bit someone will help you through this.

I can help too, after sometime.

outer drum
versed scarab
#

Yes

outer drum
#

Can you explain which particular portion doesn't seem to work?

#

Then I'll look into the details.

versed scarab
#

When i run test all moves, it shows that horizontal, vertical, diagonal, and verify source & destination do not work

#

The methods are in the board class

autumn hornet
#

I would use an enum for row/column rather than an int to be safe.

outer drum
versed scarab
#

The test all moves say that horizontal, vertical, diagonal, and source & destination do not work