joust
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| joust [2020/04/10 16:35] – frchris | joust [2020/04/10 17:22] (current) – frchris | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Joust | + | ====== |
| {{:: | {{:: | ||
| - | A game I learned about from Berkeley' | + | A game I learned about from Berkeley' |
| + | |||
| + | Download and run {{ :: | ||
| - | This lab is set up so you can discover how to program conditional statements (more commonly called "if" statements). | + | This lab is set up so you can discover how to program conditional statements(if..then) and iterations (loops). |
| - | !Under the hood | + | |
| - | # @@Square@@ objects start out either black or white (like a chess board) and become red when they are " | + | |
| - | #Each player | + | ====== Under the hood ====== |
| + | - The '' | ||
| + | - '' | ||
| + | - Each player | ||
| + | - The game's '' | ||
| + | - complete the '' | ||
| + | - complete the '' | ||
| + | - Hints | ||
| + | - You'll need to use the '' | ||
| + | - You also need to look at certain squares. | ||
| + | - You might get '' | ||
| - | #The game's @@Board@@ has a collection of @@Square@@ objects and two @@Knight@@ objects (one for each player. | + | ====== Now What? ====== |
| - | #The @@Joust@@ Applet handles | + | Once you have it going, you can customize it: |
| + | - Change | ||
| + | - Make the " | ||
| + | - Change | ||
| + | - Make a new project with some of these classes to write a [[https:// | ||
| - | {{:: | ||
| - | {{ ::joust.zip |Joust.zip}} | ||
joust.1586550909.txt.gz · Last modified: 2020/04/10 16:35 by frchris