Cancelled

Java Fix a Chess Rule - 15/11/2017 13:07 EST

I have a java project,

there are classes for every chess pieces and a chessmove main class which implements also a linked list.

This class (Chessmove) takes a text as an input and produces an output text.

Each line of the input is a chessboard like this [url removed, login to view]

and some potential moves

In the output text, each line says if each line of the input was legal or illegal. I can send you a pdf that explains this and I can send you sample inputs and their expected outputs.

I need someone to make this fix:

In the ChessMove class in the performActions function there is a while loop that runs through all the linked list. I want you there to check if there is a piece between the current location of a piece and its destination and if it is it should output illegal.

I'll just use rook as an example. Lets say rook is on 1 1 trying to move to 1 8. In this case, the rook is trying to move from row 1 to 8. To check if something is blocking, you must go thru your list of chesspiece and do some comparisons.

Lets say you have list of size i. For ith chesspiece, check if its in same col. If not, then that piece isnt blocking. If it is, then check if that piece's row is higher than the piece you are moving's row but less than the location you tryna move's row. Something like that. Gotta go thru all your pieces

Skills: Java, Software Architecture

See more: Get a Website Built - 11/05/2017 13:24 EDT, java tcp chess, java gui chess, java uml chess game, java flash chess, java web chess, online java multiplayer chess, java online chess, java code association rule mining algorithms, java player chess code, java server chess, php java online chess, java multiplayer chess, java multiplayer chess code, java design chess game

About the Employer:
( 60 reviews ) Thessaloniki, Kalamaria, Greece

Project ID: #15649587

13 freelancers are bidding on average $149 for this job

liangjongai

I am a full time developer and have high skills in java so I can complete this project. My price and time is negotiable. Let's discuss details via chat. I'll provide best service.

$155 USD in 3 days
(137 Reviews)
6.4
mhortis

Hello, I am a senior Full-Stack Java developer and I have coped with several projects, both small and more complex ones. I have a very strong academic background in algorithms and complexity, information systems a More

$200 USD in 1 day
(13 Reviews)
5.0
$120 USD in 3 days
(20 Reviews)
3.7
$244 USD in 3 days
(11 Reviews)
3.8
ScaredNatsuIT

Basically we need to optimize your request, because iterate the chess comparison is a little more heavy I would be glad to talk with you in chat to find a solution that fit better to the problem :)

$155 USD in 10 days
(1 Review)
2.4
shyamkrishna8

I have close to 5 years of experience in Java. Your problem statement looks really interesting. I should be able to fix the issue you are describing.

$150 USD in 3 days
(1 Review)
0.8
tuanthanhle

A proposal has not yet been provided

$122 USD in 2 days
(1 Review)
0.8
$133 USD in 5 days
(0 Reviews)
0.0
$111 USD in 3 days
(0 Reviews)
0.0
aymenoppa

hi sir i can fix it i have already done lot of projects using java you can check at [url removed, login to view] just send me pdf contain the detail about problem

$30 USD in 3 days
(0 Reviews)
0.0
itsMatoosh

A proposal has not yet been provided

$144 USD in 5 days
(0 Reviews)
0.0
Oshan96

I have already made a chessgame (Javascript based) ; haven't fully completed it though since it wasn't a big assignment and they didn't require it to be completed. But all the movements were there, you can check it on More

$155 USD in 3 days
(0 Reviews)
0.0
gili73

I am a software engineer with over 20 years of experience, specializing in debugging, small fixes and getting into new code.

$222 USD in 2 days
(0 Reviews)
0.0