<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.paulbui.net/wiki/index.php?action=history&amp;feed=atom&amp;title=IBCS1_-_1819_-_October</id>
	<title>IBCS1 - 1819 - October - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.paulbui.net/wiki/index.php?action=history&amp;feed=atom&amp;title=IBCS1_-_1819_-_October"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1819_-_October&amp;action=history"/>
	<updated>2026-10-18T15:36:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1819_-_October&amp;diff=14868&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1819 - October&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1819_-_October&amp;diff=14868&amp;oldid=prev"/>
		<updated>2018-11-06T21:19:21Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1819_-_October&quot; title=&quot;IBCS1 - 1819 - October&quot;&gt;IBCS1 - 1819 - October&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:19, 6 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1819_-_October&amp;diff=14867&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Wednesday (10/31/18) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * Quiz on Friday (11/2/18) ** Variables ** Conditions ** if statements ** functions * Demo any missing assignments ** [https://docs.go...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1819_-_October&amp;diff=14867&amp;oldid=prev"/>
		<updated>2018-11-06T21:19:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Wednesday (10/31/18) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * Quiz on Friday (11/2/18) ** Variables ** Conditions ** if statements ** functions * Demo any missing assignments ** [https://docs.go...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Wednesday (10/31/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Quiz on Friday (11/2/18)&lt;br /&gt;
** Variables&lt;br /&gt;
** Conditions&lt;br /&gt;
** if statements&lt;br /&gt;
** functions&lt;br /&gt;
* Demo any missing assignments&lt;br /&gt;
** [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons] is the last assignment of the quarter&lt;br /&gt;
* More advanced mouse fun&lt;br /&gt;
** Complete the table found in [https://docs.google.com/document/d/1wfVoej_7PVHquaAcugEr5YWZIzbKPNl8YYKlp7Gfouo/edit?usp=sharing Mouse Variables &amp;amp; Functions]&lt;br /&gt;
** Complete the Part 2 activity in [https://docs.google.com/document/d/1wfVoej_7PVHquaAcugEr5YWZIzbKPNl8YYKlp7Gfouo/edit?usp=sharing Mouse Variables &amp;amp; Functions]&lt;br /&gt;
* Fancy Buttons&lt;br /&gt;
*# Create 4 buttons on the screen of some color of your choice (use the same color for all 4 buttons)&lt;br /&gt;
*# Hovering over a button changes its color shade darker and increases the stroke weight around that particular button&lt;br /&gt;
*# Pressing the button makes the color shade even darker (darker than hover)&lt;br /&gt;
*# Releasing the button should return it to its original color.  Depending on how you create your program, you may not need to define mouseReleased()&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- BROKEN&lt;br /&gt;
* Complete and demo [https://docs.google.com/document/d/1g5aP7hBogJYCDSdURtG0SfG3CY-q7aLtYyGilZaQcSM/edit?usp=sharing Media: Loading &amp;amp; Playing Sounds]&lt;br /&gt;
* Sound Board Project&lt;br /&gt;
*# Create a completely new Processing project called Sound Board&lt;br /&gt;
*# You will use your experience from the [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Hover Buttons] and [https://docs.google.com/document/d/1g5aP7hBogJYCDSdURtG0SfG3CY-q7aLtYyGilZaQcSM/edit?usp=sharing Sound Lab] to design and create a sound board&lt;br /&gt;
*# Download 6 school-appropriate sound clips of your favorite TV/movie character&lt;br /&gt;
*# Design and implement your 6 of your own buttons in your program. The buttons must have text on them indicating the sound each will play.  The buttons must also highlight when you hover over them&lt;br /&gt;
*# When you press a button, there should be a quick animation like a color change to indicate the button was hit.&lt;br /&gt;
*# Also when you press a button, play the appropriate sound that corresponds to the button&amp;#039;s label&lt;br /&gt;
*# Your program should define and call functions whenever it is most appropriate&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Monday (10/29/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo Tic-Tac-Toe: Function Assignment (if you did not get to demo last class)&lt;br /&gt;
* Demo [https://docs.google.com/document/d/1u1aQNdF_V-_n_zE5gAbMbjh45IHNyrX4P4sCDzldvKs/edit?usp=sharing Functions: Emoji Assignment]&lt;br /&gt;
* Complete and demo [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons]&lt;br /&gt;
* Work on the challenges in either of the above assignments&lt;br /&gt;
&lt;br /&gt;
== Thursday (10/25/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete repl.it warmup: &amp;quot;Warmup 10/25/18&amp;quot;&lt;br /&gt;
* Complete repl.it assignment: &amp;quot;Function definitions &amp;amp; return&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Group 4 project permission slips&lt;br /&gt;
* Demo your completed Tic-Tac-Toe: Part 3&lt;br /&gt;
* Functions review&lt;br /&gt;
* Complete Tic-Tac-Toe: Function Assignment &amp;#039;&amp;#039;&amp;#039;today&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*# Go back to your Tic-Tac-Toe code and look for redundant blocks of code.  You should notice that the code that switches turns occurs in several places&lt;br /&gt;
*# Define a new function called switchTurn(), and move your code that switches turns into that function definition&lt;br /&gt;
*# Replace all the redundant blocks of code with function calls to switchTurn()&lt;br /&gt;
*# Re-test your Tic-Tac-Toe program to make sure that it still works&lt;br /&gt;
*# Demo your slimmer Tic-Tac-Toe game that uses functions&lt;br /&gt;
* Work on [https://docs.google.com/document/d/1u1aQNdF_V-_n_zE5gAbMbjh45IHNyrX4P4sCDzldvKs/edit?usp=sharing Functions: Emoji Assignment] - due next class&lt;br /&gt;
* Work on [https://docs.google.com/document/d/1i6iUV20KXDF_yKr4mn5X4JQQPc4hF7lklkp5DlDpMCE/edit?usp=sharing Functions: Hover Buttons]&lt;br /&gt;
&lt;br /&gt;
== Tuesday (10/23/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Group 4 Project Field Trip - Nov 28 / 29&lt;br /&gt;
** Turn in field trip slips (don&amp;#039;t worry about teacher signatures)&lt;br /&gt;
* Demo your completed Tic-Tac-Toe: Part 3&lt;br /&gt;
* Introduction to Functions&lt;br /&gt;
** [https://docs.google.com/presentation/d/1W_kTmZH-qLbcFcueUBLw3skRXIDlAxLDdJB-y7AbeWM/edit?usp=sharing Functions slides]&lt;br /&gt;
* Complete repl.it assignment titled: &amp;quot;Function definitions &amp;amp; return&amp;quot; - &amp;#039;&amp;#039;&amp;#039;due Thursday (10/25/18)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Group 4 project permission slips&lt;br /&gt;
* Repl.it - Function definitions &amp;amp; return&lt;br /&gt;
&lt;br /&gt;
== Friday (10/19/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo Completed Tic-Tac-Toe: Part 2&lt;br /&gt;
* Tic-Tac-Toe - Part 3&lt;br /&gt;
*# Add conditionals to check if any 3 locations in a row/column/diagonal match (make sure that at least one of the locations is not equal to the empty string)&lt;br /&gt;
*# Display a text() message that indicates the winner&lt;br /&gt;
*# Add a conditional to check if the game is a draw (tie), and display a message&lt;br /&gt;
*# To stop the stop/pause the program if there is a winner or tie, you need to create a new variable (e.g. gameOver = False)&lt;br /&gt;
*#* If the game should be over, you re-assign gameOver to True&lt;br /&gt;
*#* Within the draw() code block, add a conditional to check if gameOver is True, and if it is, then use the noLoop() command to stop the draw() animation&lt;br /&gt;
* Exhaustively test your program!&lt;br /&gt;
** Try to break your program intentionally by clicking in boxes that already have moves or by making moves after the game is over&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/17/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* text() and textSize() notes&lt;br /&gt;
* X-O clicker assignment&lt;br /&gt;
** Modify the code of the mouseReleased() so that a text-based X or O is drawn every time the mouse button is released&lt;br /&gt;
* Tic-Tac-Toe: Part 2&lt;br /&gt;
*# At the very top of your code, declare/create a global string variable named &amp;#039;&amp;#039;&amp;#039;turn&amp;#039;&amp;#039;&amp;#039; and initialize it to either &amp;quot;X&amp;quot; or &amp;quot;O&amp;quot;&lt;br /&gt;
*# At the very top of your code, 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&lt;br /&gt;
*# Copy your setup() and draw() from your Tic-Tac-Toe: Select-a-Square&lt;br /&gt;
*# At the end of draw(), add text() commands that draw all the board (b) variables in their respective locations&lt;br /&gt;
*#* Example: text(b_0_0, 100, 100)&lt;br /&gt;
*#* Test your code out at this point by giving some of the board (b) variables starting values of &amp;quot;X&amp;quot; or &amp;quot;O&amp;quot; -- be sure to revert them back to empty strings when done with testing&lt;br /&gt;
*# Define mouseReleased() like the X-O clicker assignment.  Add/modify the code, so that you detect where the click/release is occurring, and change the appropriate board (b) variable to store the move (turn). Hint: You can use the same if statements or conditionals from the select-a-square lab!&lt;br /&gt;
*#* You should be sure to save the appropriate move in the board (b) variables&lt;br /&gt;
*#* Every time you release the mouse and successfully make a move, draw &amp;quot;X&amp;quot; or &amp;quot;O&amp;quot;, then turn should switch&lt;br /&gt;
*#* You must not allow a move to occur in a space that already has a move (check the appropriate board (b) variable to make sure the corresponding slot is still empty string)&lt;br /&gt;
&lt;br /&gt;
== Thursday - Monday (10/11/18 - 10/15/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Read [https://py.processing.org/reference/globals.html global variables] and test out its example code snippet in Processing&lt;br /&gt;
** You will interact with the code snippet by hitting keys&lt;br /&gt;
** Focus on understanding the use of the global keyword&lt;br /&gt;
* Read [https://py.processing.org/reference/mouseReleased.html mouseReleased()] and test out its example code snippet in Processing&lt;br /&gt;
** You will interact with the code snippet by pressing and releasing the mouse/trackpad button&lt;br /&gt;
** The mouseReleased() function automatically runs every time the mouse&amp;#039;s button is released&lt;br /&gt;
* What components of Tic-Tac-Toe are left?&lt;br /&gt;
** Copy your Tic-Tac-Toe code to a new Processing sketch program and save it as TTT_Part2&lt;br /&gt;
** Declare/create a global string variable named &amp;#039;&amp;#039;&amp;#039;turn&amp;#039;&amp;#039;&amp;#039; and initialize it to either &amp;quot;X&amp;quot; or &amp;quot;O&amp;quot;&lt;br /&gt;
** 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&lt;br /&gt;
** Define the mouseReleased() function like the example linked above.  Add/modify the mouseReleased() code block, so that you draw a either ax &amp;quot;X&amp;quot; or an &amp;quot;O&amp;quot; in the corresponding slot.  Hint: You can use the same if statements or conditional from the previous lab!&lt;br /&gt;
** Every time you release the mouse and draw &amp;quot;X&amp;quot; or &amp;quot;O&amp;quot;, the turn should switch&lt;br /&gt;
** You must not allow a move to occur in a space that already has a move&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/10/18) ==&lt;br /&gt;
* PSATs&lt;br /&gt;
&lt;br /&gt;
== Friday (10/6/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Introduction to Animation&lt;br /&gt;
** setup() function&lt;br /&gt;
** draw() function&lt;br /&gt;
** mouseX and mouseY variables&lt;br /&gt;
** width and height variables&lt;br /&gt;
* Tic-Tac-Toe Select-a-Square&lt;br /&gt;
*# Setup your screen size to be a large square (e.g. 600x600)&lt;br /&gt;
*# Within the draw() function, give the background a color()&lt;br /&gt;
*# Draw tic-tac-toe lines on your screen (make sure that the rows and columns are exactly 1/3 the size of the height and width)&lt;br /&gt;
*# Add conditional statements in the draw() function to detect which square you are in&lt;br /&gt;
*#* You&amp;#039;ll need to access the mouse&amp;#039;s current coordinates with mouseX and mouseY variables&lt;br /&gt;
*#* Draw a square of a different color inside the particular square that you are in&lt;br /&gt;
*#* The effect that you will generate will look like it is highlighting the current square where the mouse is&lt;br /&gt;
*# Challenge: Modify your code so that changing the screen size, will automatically be adjusted and accounted for by the rest of your code. Hint: use height and width variables&lt;br /&gt;
*# Challenge 2: Modify your code so that it works without any conditionals.  Hint: use division and multiplication&lt;br /&gt;
* Coming soon...&lt;br /&gt;
** Functions&lt;br /&gt;
** Global variables&lt;br /&gt;
** Mouse clicks&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/3/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete and demo [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Introduction: My First Sketch]&lt;br /&gt;
* Processing review&lt;br /&gt;
** size()&lt;br /&gt;
** rect()&lt;br /&gt;
** ellipse()&lt;br /&gt;
** line()&lt;br /&gt;
** background()&lt;br /&gt;
** fill()&lt;br /&gt;
** stroke()&lt;br /&gt;
* Draw and demo your favorite emoji / logo / cartoon character using Processing before the end of class&lt;br /&gt;
&lt;br /&gt;
== Monday (10/1/18) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Take the Conditionals Quiz in Canvas&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Make sure you&amp;#039;ve completed all assignments (...but how?)&lt;br /&gt;
* Complete &amp;amp; demo [[Tech Support Flow Chart Assignment]]&lt;br /&gt;
* Introduction to Processing - Python Mode&lt;br /&gt;
*# Download and install [https://processing.org/download Processing]&lt;br /&gt;
*# Install Python Mode (upper right corner)&lt;br /&gt;
*# [[Processing Labs]]&lt;br /&gt;
*# Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Introduction: My First Sketch]&lt;br /&gt;
* Draw and demo your favorite emoji / logo / cartoon character using Processing&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>