May 5th 2016 Lesson Notes: Difference between revisions
Line 41: | Line 41: | ||
return | return | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Your specific task is to write code that allows a human player to move a virtual chess piece. | |||
</td> | </td> |
Revision as of 15:56, 3 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] |