If you do not want
to do the console
based exercises then
you can choose to do
the following,
video-game-based
exercises instead:
-
Exercise:
Read through
the
Match3
Orientation (Required)
- This
will show
you some of
the basic
aspects of
the API for
the game (API
= functions
you can call
to make
things
happen in
the game).
It does not
cover
repetition
(loops) at
all.
- You are NOT
required to
watch any of
the game
videos,
although you
may find it
useful to do
so.
- Note that
the code
samples in
the game
tutorials
use Java
instead of
C#.
You'll
notice that
there's a
table
labeled
'Warning:
Language
Differences'
which will
tell you to
replace
Java's
KeyEvent.VK_SPACE
with C#'s
Keys.Space,
for example.
While the C#
project
correctly
uses C#, you
will need to
fix any code
that you
copy-and-paste
from the
tutorial
into your
program.
- While
you will use
the
knowledge
you gain
from this
tutorial in
future
exercises,
there is
nothing that
you are
required to
hand in for
this
tutorial.
- In
particular,
read
through
the
final
section
which
explains
the
keyboard
shortcuts
to
pause/restart
the
chain,
spawn
various
balls,
etc.
This
level of
control
can help
you
figure
out
problems
when
you're
writing
code.
-
Exercise:
Read through
the
Collisions,
Cursors, and
Transactions
Overview (Required)
- This
will explain
some of the
basic
concepts
that this
game uses.
- While
you will use
the
knowledge
you gain
from this
tutorial in
future
exercises,
there is
nothing that
you are
required to
hand in for
this
tutorial.
-
Exercise:
Read through
the
Collision
Detection
tutorial (Required)
- This
will explain
some of the
basic
aspects that
this game
uses
- While
you will use
the
knowledge
you gain
from this
tutorial in
future
exercises,
there is
nothing that
you are
required to
hand in for
this
tutorial.
-
Exercise:
Read through
While loop
tutorial
(Hand-In)
- This
will show
you how to
recolor all
the balls
behind the
point of
collision
- You need
to complete
exercise #1.
- Do
all the
work for
this
exercise
by
modifying
the C#
starter
project
for this
tutorial
that is linked to
on
the
tutorial
page
(near
the top
- In
order to
hand
this in
you will
need to
find the
ClassTutorial.cs
file and then
copy it
into a
folder
named
While_Loops
inside
.ZIP folder
that you
will
submit
for
grading.
-
Please
note
that
the
file
name
has
changed
from
Game.cs
(in
the
BlockBreaker
/
Conditional
tutorials)
to
ClassTutorial.cs
(here
in
the
Match3
/
Repetition
tutorials)
-
Exercise:
If you're
curious about
how to implement
the 'Match3'
functionality
that this week's
game is actually
based on then read through
the
While Loop
Matching
tutorial.
(Optional)
- This is
entirely
optional.
The
instructor
will never
ask you quiz
or exam
questions
about the
material
that is
covered
exclusively
in this
tutorial.
(In other
words - you
still need
to know
material
that's
covered in
other
tutorials
but used in
this one,
but you do
NOT need to
know the
stuff that
is specific
to this
tutorial)
-
Exercise:
Read through
For loop
tutorial
(Hand-In)
- This
will show
you how to
recolor all
the balls
behind the
point of
collision
(recolor the
next three
balls)
- You need
to complete
exercise #1.
- Do
all the
work for
this
exercise
by
modifying
the C#
starter
project
for this
tutorial
that is linked to
on
the
tutorial
page
(near
the top
- In
order to
hand
this in
you will
need to
find the
ClassTutorial.cs
file and then
copy it
into a
folder
named
For_Loops
inside
.ZIP folder
that you
will
submit
for
grading.
-
Exercise:
Read through
Nested loops
tutorial
(Hand-In)
- This
will show
you how to
handle
multiple
shot-balls
flying
through the
air at the
same time.
- You need
to complete
exercise #1.
- Do
all the
work for
this
exercise
by
modifying
the C#
starter
project
for this
tutorial
that is linked to
on
the
tutorial
page
(near
the top
- In
order to
hand
this in
you will
need to
find the
ClassTutorial.cs
file and then
copy it
into a
folder
named
Nested_Loops
inside
.ZIP folder
that you
will
submit
for
grading.
|