Lessons tagged: sort
-
Updated on: Oct 27, 2009
How to make a simple line graph
This lesson shows how to make a simple line graph from a table of data.
-
Updated on: Dec 02, 2009
How do I display an array in a table field?
Arrays are not plain text and cannot be displayed in a field without some extra work first.
This lesson shows how to use the "combine" command to convert data from an array to text. -
Updated on: Mar 06, 2010
How do I sort an array?
This lesson describes a method to sort arrays and how to use it in your code, moving from a specific case to a more general form. Sample code is provided
-
Updated on: Nov 23, 2011
How do I Create an 8-Puzzle Game?
This lesson describes how to create a simple interactive 8-Puzzle game. Sample code is provided that can be placed in and run from the main stack. The board and game tiles are automatically generated.
-
Updated on: Oct 13, 2010
How do I Tell the Computer to Solve the 8-Puzzle Game Using A*?
This lesson introduces the Heuristic Search Algorithm A* (A Star) and uses it to solve the 8-Puzzle. A high level discussion of key algorithm components is given, and code samples are provided. Further research into the A* algorithm is strongly advised.
