Due: Wednesday, July 5th, 11AM
Must be done individually
Your first assignment consists of four Karel programs.
There is a starter project including all of these problems that you can access using the link below. Since this is the first assignment, we will ask you a few questions about the Honor Code (which are required) before you can download the starter project. Once you have the starter code set up, edit the program files so that the assignment actually does what it’s supposed to do (see the assignment handout), which will involve a cycle of coding, testing, and debugging until everything works. The final step is to submit your assignment.
You should write the code for your solution on your own. This assignment is not a pair assignment.
Note: You may only use concepts covered in the Karel coursereader to solve these problems. In particular, you may not use Java concepts you may have learned previously such as variables, parameters, return, break, etc. If you have any questions about what is ok/not ok to use, please feel free to ask.
Click here to redownload the starter code if you have already completed the Honor Code form.
Hangman
, so I renamed it to my own name such as DaveIsGreat
.
That is okay, right?
while (leftIsClear()) { if (frontIsClear()) { move(); } }