https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1920_-_October&feed=atom&action=historyIBCS1 - 1920 - October - Revision history2024-03-28T11:16:20ZRevision history for this page on the wikiMediaWiki 1.31.8https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1920_-_October&diff=15940&oldid=prevAdmin: Protected "IBCS1 - 1920 - October" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]2019-11-06T08:54:34Z<p>Protected "<a href="/wl/IBCS1_-_1920_-_October" title="IBCS1 - 1920 - October">IBCS1 - 1920 - October</a>" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 08:54, 6 November 2019</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Adminhttps://www.paulbui.net/wiki/index.php?title=IBCS1_-_1920_-_October&diff=15939&oldid=prevAdmin: Created page with "== Wednesday (10/30/19) == '''Agenda:''' * Turn in Group 4 Project permission slips * Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z..."2019-11-06T08:54:28Z<p>Created page with "== Wednesday (10/30/19) == '''Agenda:''' * Turn in Group 4 Project permission slips * Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z..."</p>
<p><b>New page</b></p><div>== Wednesday (10/30/19) ==<br />
'''Agenda:'''<br />
* Turn in Group 4 Project permission slips<br />
* Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z3cHu457G4/edit?usp=sharing Project: Basic Pool]: Part 2<br />
* Functions quiz at end of class<br />
<br />
== Monday (10/28/19) ==<br />
'''Agenda:'''<br />
* Turn in Group 4 Project permission slips<br />
* Functions quiz on '''Wednesday (10/30/19)'''<br />
* Demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z3cHu457G4/edit?usp=sharing Project: Basic Pool]: Part 1<br />
* Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z3cHu457G4/edit?usp=sharing Project: Basic Pool]: Part 2<br />
<br />
== Thursday (10/24/19) ==<br />
'''Agenda:'''<br />
* Turn in Group 4 Project permission slips<br />
* Functions quiz on '''Wednesday (10/30/19)'''<br />
* Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z3cHu457G4/edit?usp=sharing Project: Basic Pool]: Part 1<br />
<br />
== Tuesday (10/22/19) ==<br />
'''Agenda:'''<br />
* Turn in Group 4 Project permission slips!<br />
* Submit [https://docs.google.com/document/d/1wfVoej_7PVHquaAcugEr5YWZIzbKPNl8YYKlp7Gfouo/edit?usp=sharing Mouse Variables & Functions] notes tables to Canvas<br />
* Assignment demos:<br />
** [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons]<br />
** [https://docs.google.com/document/d/1wfVoej_7PVHquaAcugEr5YWZIzbKPNl8YYKlp7Gfouo/edit?usp=sharing Mouse Variables & Functions: Part 2]<br />
* Complete [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Bouncing Ball]<br />
* Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z3cHu457G4/edit?usp=sharing Project: Basic Pool]: Part 1<br />
<br />
== Friday (10/18/19) ==<br />
'''Agenda:'''<br />
* Prepare to demo [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons] next class<br />
* More advanced mouse variables and functions:<br />
** Complete the table found in [https://docs.google.com/document/d/1wfVoej_7PVHquaAcugEr5YWZIzbKPNl8YYKlp7Gfouo/edit?usp=sharing Mouse Variables & Functions]<br />
** Complete the Part 2 activity in [https://docs.google.com/document/d/1wfVoej_7PVHquaAcugEr5YWZIzbKPNl8YYKlp7Gfouo/edit?usp=sharing Mouse Variables & Functions]<br />
* Complete [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Bouncing Ball]<br />
* Complete and demo [https://docs.google.com/document/d/1K4uqoXWXBYnHWzY3wp0DS4clfTdrXpC_5Z3cHu457G4/edit?usp=sharing Project: Basic Pool]: Part 1<br />
<br />
== Wednesday (10/16/19) ==<br />
* PSATs<br />
<br />
== Tuesday (10/15/19) ==<br />
'''Agenda:'''<br />
* Group 4 Project permission slips<br />
* Function definitions & return repl.it questions?<br />
* Demo your completed Tic-Tac-Toe: Part 3 if you have not already done so<br />
* Tic-Tac-Toe w/ Functions walk-through<br />
* Complete and demo [https://docs.google.com/document/d/1u1aQNdF_V-_n_zE5gAbMbjh45IHNyrX4P4sCDzldvKs/edit?usp=sharing Functions: Emoji Assignment]<br />
* Work on [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons]<br />
<br />
'''Homework:'''<br />
* Complete [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons]<br />
<br />
== Thursday (10/10/19) ==<br />
'''Agenda:'''<br />
* Group 4 Project permission slips<br />
* Demo your completed Tic-Tac-Toe: Part 3<br />
* Introduction to Functions<br />
** [https://docs.google.com/presentation/d/1W_kTmZH-qLbcFcueUBLw3skRXIDlAxLDdJB-y7AbeWM/edit?usp=sharing Functions slides]<br />
* Complete repl.it assignment titled: "Function definitions & return"<br />
* Work on [https://docs.google.com/document/d/1u1aQNdF_V-_n_zE5gAbMbjh45IHNyrX4P4sCDzldvKs/edit?usp=sharing Functions: Emoji Assignment]<br />
<br />
'''Homework:'''<br />
* Complete "Function definitions & return" repl.it assignment if you did not do so in class<br />
<br />
== Tuesday (10/8/19) ==<br />
'''Agenda:'''<br />
* Group 4 Project permission slips<br />
* Complete & demo Tic-Tac-Toe - Part 2<br />
* Tic-Tac-Toe - Part 3<br />
*# Be sure to create a new sketch so as not to lose your working Part 2 code, and copy over your Part 2 code to the new sketch<br />
*# Add if-statements and conditionals to check if any 3 in a row match <br />
*#* Don't forget to make sure that one of the slot variables is not equal to the empty string because 3 empty slots will be considered a match too<br />
*# Display a text() message that indicates the winner<br />
*# Call the noLoop() function to stop the game when there is a winner<br />
*# Implement a mechanism/conditional to check if the game is a draw (tie)<br />
* Demo a completed Tic-Tac-Toe game<br />
* Challenge:<br />
*# Implement an AI to play against you<br />
<br />
== Friday (10/4/19) ==<br />
'''Agenda:'''<br />
* Group 4 Project - field trip slips<br />
* Complete and demo Tic-Tac-Toe: Part 2 (see description from Wednesday)<br />
* If you have completed Tic-Tac-Toe: Part 2, then proceed to adding conditionals to determine winning<br />
* Don't forget about cat's games (tie-game) where the board is completely full<br />
<br />
== Wednesday (10/2/19) ==<br />
'''Agenda:'''<br />
* Demonstrate Tic-Tac-Toe Select-a-Square<br />
* Read [https://py.processing.org/reference/text.html text()] and test out its example code snippet<br />
** You can use text() to draw X and O on the screen for our game!<br />
* Read [https://py.processing.org/reference/globals.html global variables] and test out its example code snippet in Processing<br />
** You will interact with the code snippet by hitting keys<br />
** Focus on understanding the use of the global keyword<br />
* Read [https://py.processing.org/reference/mouseReleased.html mouseReleased()] and test out its example code snippet in Processing<br />
** You will interact with the code snippet by pressing and releasing the mouse/trackpad button<br />
** The mouseReleased() function automatically runs every time the mouse's button is released<br />
* What components of Tic-Tac-Toe are left?<br />
** Copy your Tic-Tac-Toe code to a new Processing sketch program and save it as TTT_Part2<br />
** Declare/create a global string variable named '''turn''' and initialize it to either "X" or "O"<br />
** Declare/create global variables for each square in the game (e.g. b_0_0, b_0_1) -- you will use these variables to track where moves are made<br />
*** Initialize all the b_#_# variables to empty strings ""<br />
** Update your draw() so that all of the b_#_# variables are text()-ed onto the screen at their appropriate locations. Test out your program by giving some of the b_#_# variables "X" and "O". You should see them appear on the screen. Once your testing is done, revert them back to empty string ""<br />
** Define the mouseReleased() function like the example linked above. Read all of the following guidelines for mouseReleased()<br />
*** You will add/modify the mouseReleased() code block, such that you will determine where the mouse is releasing (using if-statements), and then you will change/update the corresponding b_#_# variable<br />
*** You can use the same if statements and conditionals from the previous "select-a-square" lab! (i.e. copy all your if-statements from the draw() and paste them into mouseReleased(). You will not need any of the fill() or rect() in mouseReleased()<br />
*** If a particular square is clicked, then save the current player's turn into that specific b_#_#<br />
** Every time you release the mouse and draw "X" or "O", the turn should switch<br />
** You must not allow a move to occur in a space that already has a move</div>Admin