Posted by : Unknown miércoles, 1 de octubre de 2014

September 30th, 2014

iCarnegie Project 01

Maze Runner

Today's activity was to solve the iCarnegie Project 01 in which the aim was to make the maze runner to leave the start line in order to get to the finish line. This will be solved through the algorithm that specifies the directions (upwards, downwards, left, and right) that the maze runner will follow.

The code lines were already started by iCarnegie developers, our task was to complete the code so that the application works properly.

  1. The first thing we do was to analyze the code lines and to run the application to see the result and discover what we could do to improve it.
  2. Then, we opened our four exercise projects to identify the methods that we might use in order to solve the errors and to add the functionality.
  3. According to the instructions, we placed our code lines in the pointed places.
  4. We ran the program several times and we could get the aim, that the maze runner (in a three-asterisk form) would walk through the paths and, finally, could get the finish line.
  5. We verified that the order of the movement methods was indispensable to determinate how fast or how slow the maze runner solved the maze. So, we tried different ways to order the direction methods and, finally, we found a very useful  algorithm that goes from the start line up to the finish line without returning or walking onto the same place more than once.
Throughout the activity, we discovered how to use the methods and apply the logical structure to solve the problem.

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Popular Post

Blogger templates

Con tecnología de Blogger.

- Copyright © Zavala Zavala - Computing and Problem Solving -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -