Find Jobs
Hire Freelancers

Pathfinding algorithm with obstacle detection and workaround

$10-30 AUD

Closed
Posted almost 6 years ago

$10-30 AUD

Paid on delivery
This is about C++ (can also be done in C if it works!) I'm looking for someone who can make the following program in a void handleMovement() method. #define OBSTACLE_HEIGHT 20 #define OBSTACLE_WIDTH 10 #define PEOPLE_COUNT 100 struct person{ int current_x; int current_y; int destination_x; int destination_y; } static person people[1000]; struct obstacle{ int x; int y; } Basically, these "people" must move from their current x and y to their destination x and y (to move them, simply change the current_x and current_y by one). They *cannot* move diagonally. Any way is fine. Just not diagonally. If there is an obstacle in their path, they must walk around it and find another way. You can use a for loop like this: for(int i = 0; i < PEOPLE_COUNT; i++) person[i].x++; // move one pixel to the right
Project ID: 16900731

About the project

15 proposals
Remote project
Active 6 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
15 freelancers are bidding on average $76 AUD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$120 AUD in 2 days
4.9 (193 reviews)
7.3
7.3
User Avatar
hi... i am good at core C/C++ programming along with recursion for path finding problems like yours. please contact me as soon as possible for a discussion.
$60 AUD in 1 day
4.9 (191 reviews)
6.5
6.5
User Avatar
Hi, I've got quite some experience with C, C++ and I'm sure I can help you out with this. May I get some more details over the chat?
$25 AUD in 1 day
5.0 (91 reviews)
5.7
5.7
User Avatar
A proposal has not yet been provided
$83 AUD in 2 days
5.0 (5 reviews)
3.4
3.4
User Avatar
Hello i have vast knowledge on the topic which can help me get the work done perfectly and on time. i am looking forward to working with you. Evans Regard
$45 AUD in 1 day
4.9 (6 reviews)
3.0
3.0
User Avatar
Dear sir I read your description carefully. I can solve your project for 2 hours I know many algorithms very well I have full experience of algorithms and c++ program I am full confident to complete your project and I do my best if you let me bid on yours. I focus on client's credit than money. I want to discuss more in detail. Thank you.
$55 AUD in 0 day
5.0 (5 reviews)
2.3
2.3
User Avatar
It is a piece of cake. I have solved more difficult problems in competitive programming. I am looking forward to finishing it for you.
$25 AUD in 1 day
5.0 (1 review)
0.6
0.6
User Avatar
I can do this in c. i am very good at c .becouse you dont need c++ clases , you only need a function.
$30 AUD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I can do your project. I am experience firmware and software engineer and I can do circuit design. Let me know your project. Thanks.
$30 AUD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I should be able to complete this job with ease. I like to program games and am currently learning c++. I also live in Australia, so we should be able to communicate quite easily. Thanks, Rhys
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
0.0
0
Member since May 4, 2018

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.