Karel the Robot was invented by Richard E. Pattis in the 1970s and named after the Czechoslovakian playwright Karel Capek, whose play RUR ("Rossum's Universal Robots") introduced the now common R-word into our vocabulary. Karel lives inside a computer and is capable of a few simple tasks performed into a two-dimensional world, such as putting beepers down and picking them up. Karel's behavior is controlled by a very simple true programming language resembling PASCAL. Simple as he is, by doing only what we tell him, Karel can teach about programming in any structured language. Karel was designed for the mainframes of the times and the microcomputer version pretended the micro was a mainframe and had to operate outside of the DOS of the times. TURBO HAL: the integrated environment, was developed in 1989 as an improved MS-DOS version of Karel using the exact same syntax as Pattis' version (with Pattis' blessing*). It is a tool to introduce students to structured programming, especially in beginning programming classes such as Pascal. It is designed to be low cost alternative programming simulator to Karel. It is actually free. HAL is an easy-to-use integrated environment running in MS-DOS that does not require a separate editor, compiler, linker, linker and debugger in order to create, debug and run Karel programs. HAL lives in the Borland language environment (that of Turbo Pascal) with its editor, DOS-windows and pull down environment. This software was designed by Tim Totten of Hillsborough Community College of Tampa, Florida. |
![]() Turbo HAL by Patricia Watson
|
![]() |
TURBO HAL has been successfully used with elementary and junior high school students. Initially a lifesize three-dimensional grid, made from a bed sheet and felt strips, is used as a 'playing board'. The students design HAL'S World by putting down the felt strips as walls and placing the beeper on the grid. The students are then given programming templates on which they write-in the primitive commands to solve the HAL problem in the 3-D World. The problem is for the students to start at a beginning point, move through the grid avoiding walls, fetch the beeper and deposit the beeper off the grid. |
---|
|
The Primitive Commands available to the new programmers are:
|
![]() |
---|
|
If HAL hits a wall, the program crashes and must be corrected or 'debugged'. Students then become HAL, step on the grid, and march through the maze as the teachers reads off the primitive commands from the student's paper. While observing 'HAL' walking through the grid, the other students eagerly check and 'debug' their own programs to solve the problem. Since HAL can only make a limited number of simple moves, the students soon discover they need more primitive commands. This introduces the concept of a procedure, which has the syntax in Turbo HAL as: |
---|
|
EME 2040 Students (Preteachers):![]() (video currently not functioning***)
|
Older elementary and middle school students are easily introduced to:
|
---|
Thanks to Tim Totten during the late 80s and early 90s using a combination of the 3-D WORLD and HAL's 2-D WORLD on the computer in MS-DOS, high school and college students were successfully programming solutions to more complex mazes. Teachers as well as students may generate their own problems by using the HAL WORLD generator or watch HAL execute step-by-step instructions solving many different HAL problems. The 3-D WORLD is very easy to use, but the 2-D WORLD program was before WINDOWS and designed for high school or college programming students being taught by computer science teachers. |
![]() Tim Totten
|
It did not have the normal help menus of windows to explain how to use the program. To bridge the gap during the early 1990s, John Taylor developed a hypertext environment using Asymetrix Toolbook to introduce HAL to elementary and middle school teachers and students. It included sample templates for beginners and instructions on how-to-build HAL grids. From any 'page' (screen), the user could access a lesson or slide show to review or reinforce programming concepts. There was link on each screen to access the MS-DOS TURBO HAL program. TURBO HAL ran on low end MS-DOS machines and operates in text mode. It was used on old 5 and 1/4 inch floppy disks of 360k as well as 1.44 meg 3" disks. The software was distributed free by Hillsborough Community College or could be download from the Internet. The runtime hypertext presentation disk was available through John Taylor. It also could be run off the Internet using Asymetrix's Plug-In Neuron. Penny Haun introduced Turbo HAL to her Fall Term 2001 students in COP 1000 - Programming Logic. The DOS version of Turbo HAL served the college for a decade. This created a demand for a Windows version of Turbo HAL. Tim Totten was not available to develop Windows version due to administrative demands. |
![]() |
DOS is History; Agents Also Abandon by Microsoft But time marched on, the turn of the century came. In the early 2000s Windows came out with Windows XP after Windows 98. The DOS environment was still accessible.
|
Finally: A Windows/Internet VersionDuring the Fall 2001, CGS 2820 HTML students created several mazes for students to develop answers in COP 1000 and for public school demonstrations. Additional mazes were added by the HTML students during the Spring 2002 for the Computer Club's contest at Spring Fling. These grids are on the adjacent table. During October 2001 Al Falkenstein began writing using JavaScript a program to make the student's grids interactive. The first version is for the elementary students. Then he developed the advanced version for the college or high school Logic students. Links to both on-line versions are in the lower right table under Al's picture. The student in the elementary version may type a "1" (one) for move or "L" to turnleft in the program field. The student should write the entire program in the program field, then click "Play Program" to see if he/she has the correct solution. There are only two primitives in the elementary version.
Grid #63
![]() However, the student may use the buttons: "Move" or "TurnLeft" to navigate HAL through the maze step by step while the code is automatically written in the program field.
Advanced Version of TurbHAL
![]() If the student clicks on the menu item, the code is written in the program field and HAL will respond on the screen. However, the Logic/Programming students should write the code in the program field and then play the program to see if the code is written correctly. Better details are in Al's instructions for the advanced version. He has transformed the code to a Visual Basic program for students to run locally on their machines. During the Fall of 2002, Al created a new game: Logic Rally which has scoring based on the complexity of the table, the programming procedures, and the execution instructions. ![]() Artist Version of
|
Al Falkenstein's Internet
|
passwords: al, jeff, sarah, max, james try yahoo
for the Logic Rally try the password yahoo.
*In 1989 Richard Pettis and Hillsborough Community entered into a letter of understanding in which HCC's Turbo HAL by Tim Totten was copyrighted by the college's attorney with the provision that HCC only distributes the software for educational use and does not charge a fee for the software.
**In 2001 John Taylor and Al Falkenstein created the online version of Turbo HAL and has began the process of copyrighting the script. The syntax of the program has been completely changed to single letter commands without punctuation and begin and end statements of procedures and execution. In 2002 the grid and syntax has been modified and the theme changed to Logic Rally. The product is provided online free for educational use.
***In the Fall of 2001, John Taylor was promised by Brandon Campus President: Dr Carlos Soto that if he took the department chair of computer science in 2001 and got the Barndon Campus a share of the annual Carl mPerkins Funds, that he would be allowed to continue teaching up to three computer science distant learning classes per term after his pending returement in 2004. Carl Perkins funds were shared with Brandon Campus for the first time in the Fall of 2002. John Taylor retired in July 2004 after 35 years at HCC and taught three classes per term in 2004-2005; then three in the Fall of 2005. The new department chair for 2005-2006 eliminated the adjunct status of John Taylor. Dr Soto said his hands were tied and he had to support the department chair decision non scheduling. Then in the Spring 2006 since John Taylor was no longer an adjunct, the HCC Webmaster deleted John Taylor's Web Site off HCC servers without notice to John Taylor. A few weeks later upon inquiry the webmaster was able to retrieve a few of the deleted documents. John Taylor had not backed up many very important files which were on HCC's Server. The files were in his laptop computer and in January 2006 while going through security at the New orleans airport his laptop was dropped and the screen shattered. John Taylor had a local company retieve the files from the laptop's hard drive, but they did not copy the entire hard disk. Just the files in the documents, video and poicture folders were coppied. The lost files are noted above that they are missing. Videos may be retieved as John Taylor still has the 8mmm video tapes. But it will take time. Toolbook has been history since 2011, mainly after 2007. Life goes on. Technology is constantly changing, John Taylor has learned many nlessons the hard way, especially about backing up and protecting your files.