Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-18-2011, 04:26 PM   PM User | #1
Accendo
New to the CF scene

 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Accendo is an unknown quantity at this point
Pathfinding Robot

Hey there codingForums!

I have been given a piece of coursework and before I go wandering off on my own and messing things up I figured I should best start with a forum of experts.
  • The requirements for the program are to have a "Robot" that moves from one location to another read in from a file, on a 20x20 grid.
  • It can only move forward and turn to look in the directions of NORTH, EAST, SOUTH, WEST.
  • There are also landmarks stored in another file, record the ones I pass over
  • Then print out how far the robot moved.

Upgrades (Not necessary for a pass)
  • Graphics using swing.
  • Being able to rotate in any direction of 360 degrees.
  • Still print out how far the robot moved but now it's not as simple as I'd need to use trig. now.

I am a big newbie to programming as a whole, only the basic things I have done through uni I know and I would like any input you guys could give me on how best to start this bad boy of an assignment.

Kind regards,
Accendo
Accendo is offline   Reply With Quote
Old 01-18-2011, 04:46 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,033
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Please see forum rule 1.5. We will not do your homework/assignment for you, but if you make as substantial effort yourself then I am sure that people will help you correct/improve it.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
Philip M is online now   Reply With Quote
Old 01-18-2011, 07:02 PM   PM User | #3
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,162
Thanks: 59
Thanked 3,992 Times in 3,961 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Quote:
Graphics using swing
That means this is a JAVA question.

So you aren't even posting in the right forum.

This is the JavaSCRIPT forum.

About the only major thing Java and JavaScript have in common is the first 4 letters of their names.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Tags
pathfinding

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:51 PM.


Advertisement
Log in to turn off these ads.