Xref: utzoo comp.edu:2298 comp.lang.pascal:1910 comp.sys.ibm.pc:29492 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!tut.cis.ohio-state.edu!mailrus!uflorida!indri!polyslo!csun!csuna!abcscnuk From: abcscnuk@csuna.csun.edu (Naoto Kimura) Newsgroups: comp.edu,comp.lang.pascal,comp.sys.ibm.pc Subject: Re: Karel the Robot Keywords: Wanted, Karel Message-ID: <2025@csuna.csun.edu> Date: 30 May 89 14:46:21 GMT References: <915@psc90.UUCP> <89May28.161910edt.4608@turing.toronto.edu> <2021@csuna.csun.edu> Reply-To: abcscnuk@csuna.csun.edu (Naoto Kimura) Organization: CSU Northridge Lines: 51 In article <2021@csuna.csun.edu> abcscnge@csuna.csun.edu (Scott Neugroschl) writes: >For those who don't know and love Karel, he is a poor developmentally >disabled robot who can only move forward, turn left (right?), pick up whichever it was, it's still the same. For those who didn't know, you had to define the other as a function of the one it knew: DEFINE-NEW-INSTRUCTION TurnLeft AS BEGINNING-OF-INSTRUCTION ITERATE 3 TIMES TurnRight END-OF-INSTRUCTION >a beeper (whatever that is), or put a beeper down. The concept is >by programming him, you can learn top down programming... > > >I don't know where to find him, but we once blew him up... (we disguised >a land mine so that it looked like a beeper) > >Boy was he surprised! > >Anyone from UCSC Fall Q 1983 who took CIS 12 with Goldberg remember the >joys of Karel? > > >-- >Scott "The Pseudo-Hacker" Neugroschl >UUCP: ...!sm.unisys.com!csun!csuna.csun.edu!abcscnge >-- Beat me, Whip me, make me code in Ada >-- Disclaimers? We don't need no stinking disclaimers!!! There was one posted on comp.sources some time ago (back in '85 if I recall correctly). I Fiddled around with the program for a while before getting fed up with the verbosity of Karel code, combined with its tendency to be brain-dead (you couldn't write recursive code with it, no variables). I was working on putting aggressive commands into its abilities - like instead of put-beeper it would use put-mine and have multiple karel the Robots running around, but never got around to finishing it. Please don't ask me to post the sources to Karel because all I've got is a printout I don't want to go and type it in. For those who care, I was deranged enough to make a bunch of #defines so I could have C programs that looked like Karel the robot code. Of course, it was all for a joke. //-n-\\ Naoto Kimura _____---=======---_____ (abcscnuk@csuna.csun.edu) ====____\ /.. ..\ /____==== // ---\__O__/--- \\ Enterprise... Surrender or we'll \_\ /_/ send back your *&^$% tribbles !!