Find Jobs
Hire Freelancers

C++ Assignment

$30-250 USD

Cancelled
Posted over 11 years ago

$30-250 USD

Paid on delivery
A program to find the shortest sequence of moves for a Knight between the starting and ending positions. The program should be easily be readable and must use object oriented features of C++; should not be simple copy/paste from example code already available on the internet. Assumption: There are no other pieces on the board, except the Knight. Brief: Given a standard 8x8 chessboard, design a C++ application that accepts two squares identified by algebraic chess notation. The first square is the starting position, and the second square is the ending position. Find the shortest sequence of valid moves to take a Knight piece from the starting position to the ending position. Each move must be a legal move by a Knight. For any two squares there may be more than one valid solution. More information: Algebraic chess notation identifies each square with a letter from A to H and a number from 1 to 8. The columns are labeled with letters, and the rows are numbered. The lower left is A1. A Knight moves two steps in a straight line from its starting position, and then one square to either the left or right. A Knight can jump over other pieces. In the diagram to the right the Knight at position B8 can move to either A6 or C6, while the Knight at position G8 can move to F6 or H6. Input: Must be two squares identified in algebraic chess notation representing the starting and ending positions of the Knight. The two squares are separated by a space. Output: Must be a list of squares through which the Knight passes, in algebraic chess notation. This must include the ending position, but exclude the starting position. Example Test Input: A8 B7 Expected Output: C7 B5 D6 B7
Project ID: 2379581

About the project

34 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
34 freelancers are bidding on average $63 USD for this job
User Avatar
Please check your inbox. Thanks
$200 USD in 1 day
4.9 (188 reviews)
7.1
7.1
User Avatar
Hi, I am C++ expert and can surely help you here, Please check your inbox,Thanks
$30 USD in 1 day
4.8 (280 reviews)
6.8
6.8
User Avatar
I can easily do this
$30 USD in 1 day
5.0 (51 reviews)
5.8
5.8
User Avatar
Hi, f1cuf I am Master of Informatics, having experience in programming on C++ for 11 years. I can solve for you the problem on knight movements.
$50 USD in 1 day
5.0 (27 reviews)
5.9
5.9
User Avatar
Hi, I am confident to handle your project, please check your inbox for details, thank you.
$30 USD in 1 day
4.9 (73 reviews)
5.5
5.5
User Avatar
Hello. I'll solve this knight problem in C++ according to all your requirements.
$80 USD in 1 day
5.0 (25 reviews)
5.5
5.5
User Avatar
Hi, I'm an expert in DSA and C++ programming, please check your inbox and let me handle your project.
$39 USD in 0 day
4.9 (24 reviews)
5.0
5.0
User Avatar
Hi I am an Engineer with expertise in C++. I can do this project for you. Thanks
$60 USD in 1 day
5.0 (4 reviews)
4.5
4.5
User Avatar
Hi Sir. I am a qualified programmer. i can do this task efficiently. kindly check inbox for details. Thank you
$100 USD in 1 day
5.0 (14 reviews)
3.9
3.9
User Avatar
Hi, I am ready to help. Please check pmb for my further detail.
$40 USD in 1 day
5.0 (26 reviews)
4.1
4.1
User Avatar
I have 4 years experience in C/C++ programming. I can easily handle this project. Payment could be done after checking result. Thank you!
$40 USD in 3 days
4.8 (11 reviews)
4.0
4.0
User Avatar
Ready to work on
$100 USD in 1 day
4.9 (3 reviews)
3.4
3.4
User Avatar
hi sir this is very easy job for me can do the task in a few hours the code will be simple and fully commented :)
$30 USD in 0 day
4.9 (16 reviews)
3.6
3.6
User Avatar
I can quickly finish this project using the A* algorithm.
$30 USD in 1 day
5.0 (3 reviews)
2.0
2.0
User Avatar
Pls check PMB
$50 USD in 7 days
5.0 (2 reviews)
1.8
1.8
User Avatar
Let me do this job for you.
$30 USD in 1 day
3.2 (2 reviews)
2.0
2.0
User Avatar
Hi, I have a lot of experience in both algorithms and C++ and I am able to create that application for you.
$30 USD in 1 day
4.2 (1 review)
1.4
1.4
User Avatar
plz contact me
$150 USD in 15 days
4.6 (1 review)
1.0
1.0
User Avatar
please check pmb for details
$100 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
please check your pmb for details.
$100 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
0.0
0
Member since Aug 5, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.