make_a_maze_world
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| make_a_maze_world [2023/09/17 11:16] – frchris | make_a_maze_world [2023/09/17 11:21] (current) – frchris | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Make A Maze World ====== | ====== Make A Maze World ====== | ||
| - | ===Step 1=== | + | ====== Step 1 ====== |
| 1. Make a new Java Project called '' | 1. Make a new Java Project called '' | ||
| import java.awt.Graphics; | import java.awt.Graphics; | ||
| Line 229: | Line 229: | ||
| }</ | }</ | ||
| - | ===Step 2=== | + | ======Step 2====== |
| 2. As written it will Make 10 rows and 10 columns, but feel free to change this. | 2. As written it will Make 10 rows and 10 columns, but feel free to change this. | ||
| - | ===Step 3=== | + | ======Step 3====== |
| 3. Keep clicking it until you have one you like, and take a screen shot with | 3. Keep clicking it until you have one you like, and take a screen shot with | ||
| Coomand-Shift-4 | Coomand-Shift-4 | ||
| Line 238: | Line 238: | ||
| {{:: | {{:: | ||
| - | ===Step 4=== | + | ======Step 4====== |
| 4. Look for it on your Desktop and rename it with your name (For example it might be called '' | 4. Look for it on your Desktop and rename it with your name (For example it might be called '' | ||
| - | ===Step 5=== | + | ======Step 5====== |
| 5. Next you are to use these commands to make a .kwld text file. Here is an example That Describes BobS.png: | 5. Next you are to use these commands to make a .kwld text file. Here is an example That Describes BobS.png: | ||
| <code text BobS.txt> | <code text BobS.txt> | ||
| Line 292: | Line 292: | ||
| Try removing or changing a wall in the BobS.txt file to get a feel of how the code changes the KarelWorld drawn by the ShowWorld main method. | Try removing or changing a wall in the BobS.txt file to get a feel of how the code changes the KarelWorld drawn by the ShowWorld main method. | ||
| - | ===Step 6 === | + | ======Step 6 ====== |
| 6. Now it is your turn. Make a new text file (or rename " | 6. Now it is your turn. Make a new text file (or rename " | ||
| Line 331: | Line 331: | ||
| Alternatively your can use placeWall methods and save the world to file. | Alternatively your can use placeWall methods and save the world to file. | ||
| - | === Links to Karel and KarelWorld Reference | + | ====== Links to Karel and KarelWorld Reference |
| [[http:// | [[http:// | ||
| - | === Show and Tell === | + | ====== Show and Tell ====== |
| Go to [[https:/// | Go to [[https:/// | ||
make_a_maze_world.1694963793.txt.gz · Last modified: 2023/09/17 11:16 by frchris