/
LevelOne.ctxt
6 lines (6 loc) · 2.42 KB
/
LevelOne.ctxt
1
2
3
4
5
6
#BlueJ class context
comment0.target=LevelOne
comment0.text=\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ ***\r\n\ *\ *\ *\ *\ *\ *\ *\ *\ LEVEL\ ONE\:\ Let's\ Get\ Moving\!*\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ ***\r\n\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ ***\r\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ Northumbria\ University's\ Mars\ rover\ has\ landed\ successfully.\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ It\ is\ now\ your\ job\ to\ take\ over\ the\ controls,\ and\ start\ exploring.\ \ \ \ \ \ \ \ \ \ *\r\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ Step\ 1\:\ To\ move\ the\ rover,\ type\ moveRight()\ into\ the\ main\ function\ below.\ \ \ *\r\n\ Step\ 2\:\ Try\ out\ all\ 4\ directions,\ you\ can\ move\ up,\ down,\ right\ and\ left.\ \ \ \ *\r\n\ \r\n\ HINT\:\ \ \ moveRight()\ moves\ the\ rover\ right.\ moveUp()\ moves\ the\ rover\ up...\ \ \ *\r\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\r\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ Now\ that\ you've\ got\ hang\ of\ the\ controls,\ let's\ see\ if\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ you\ can\ guide\ the\ rover\ to\ the\ target\ location.\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ Step\ 3\:\ Take\ a\ look\ at\ the\ level,\ to\ see\ where\ you\ need\ to\ go\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n\ Step\ 4\:\ Program\ the\ rover\ below\ to\ drive\ onto\ the\ target\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *\r\n*\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *\ *
comment1.params=
comment1.target=void\ main()
numComments=2