Search Results
-
How do I Create an 8-Puzzle Game?
Updated on: May 20, 2024
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.
-
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.
-
Sorting a list
Updated on: May 07, 2024
LiveCode provides a sort command for sorting the items of a container (variable, field etc). This lessons shows how to use the sort command in conjunction with a custom function which disregards leading "The","A" and "An" from the sort.
-
Placing a font list into a menu
Updated on: May 10, 2024
This lesson demonstrates how to display a list of the installed fonts in a menu.
-
How do I sort an array?
Updated on: Apr 12, 2024
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
-
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.