May 5th 2016 Lesson Notes: Difference between revisions
(5 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
# We will check in with vacation | # We will check in with vacation | ||
# We will take another look at our [[chess]] program, reviewing line by line how it works | # We will take another look at our [[chess]] program, reviewing line by line how it works | ||
# We will identify | # We will identify the tasks you need to complete | ||
Line 31: | Line 31: | ||
==[[File:target.png]] Is this graded? == | ==[[File:target.png]] Is this graded? == | ||
# You will have one job this class. I need to see progress towards our | # You will have one job this class. I need to see progress towards completing our move function. See below: | ||
<syntaxhighlight lang="python"> | |||
def move(piece,destination): | |||
# is piece valid? | |||
# is destination valid (basic int 1 to 64) | |||
# is the move valid for that piece? | |||
# would the move place the king in check? | |||
return | |||
</syntaxhighlight> | |||
Your specific task is to write code that allows a human player to move a virtual chess piece. | |||
</td> | </td> |
Latest revision as of 12:47, 5 May 2016
What are we going to learn today?[edit]
What is your homework and when is it due ?[edit]
|
What is the actual plan?[edit]
|
|
Is this graded?[edit]
def move(piece,destination):
# is piece valid?
# is destination valid (basic int 1 to 64)
# is the move valid for that piece?
# would the move place the king in check?
return
Your specific task is to write code that allows a human player to move a virtual chess piece. |
||
Standards we are covering today[edit]
|
As a computer scientist, you have[edit]These are the characteristics every computer scientist works towards.
|
|
Credits[edit] |