<?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_-_1314_-_March</id>
	<title>IBCS1 - 1314 - March - 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_-_1314_-_March"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1314_-_March&amp;action=history"/>
	<updated>2026-09-19T14:28:26Z</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_-_1314_-_March&amp;diff=11279&amp;oldid=prev</id>
		<title>Admin at 18:15, 2 April 2014</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1314_-_March&amp;diff=11279&amp;oldid=prev"/>
		<updated>2014-04-02T18:15:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:15, 2 April 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Friday - Monday (3/28/14 - 3/31/14) ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Friday - Monday (3/28/14 - 3/31/14) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Test your 1-player Tic-Tac-Toe game (make sure you have your 2-player version backed up!)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Test your 1-player &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;Tic-Tac-Toe&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;game (make sure you have your 2-player version backed up!)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Spend today improving the computer&amp;#039;s move algorithm&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Spend today improving the computer&amp;#039;s move algorithm&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** What moves do you make that allow you to beat the computer?&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** What moves do you make that allow you to beat the computer?&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_-_1314_-_March&amp;diff=11276&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1314 - March&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1314_-_March&amp;diff=11276&amp;oldid=prev"/>
		<updated>2014-04-02T13:05:02Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1314_-_March&quot; title=&quot;IBCS1 - 1314 - March&quot;&gt;IBCS1 - 1314 - March&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (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 13:05, 2 April 2014&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_-_1314_-_March&amp;diff=11275&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Friday - Monday (3/28/14 - 3/31/14) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * Test your 1-player Tic-Tac-Toe game (make sure you have your 2-player version backed up!) * Spend today improving the co...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1314_-_March&amp;diff=11275&amp;oldid=prev"/>
		<updated>2014-04-02T13:04:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Friday - Monday (3/28/14 - 3/31/14) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * Test your 1-player Tic-Tac-Toe game (make sure you have your 2-player version backed up!) * Spend today improving the co...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Friday - Monday (3/28/14 - 3/31/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Test your 1-player Tic-Tac-Toe game (make sure you have your 2-player version backed up!)&lt;br /&gt;
* Spend today improving the computer&amp;#039;s move algorithm&lt;br /&gt;
** What moves do you make that allow you to beat the computer?&lt;br /&gt;
** Can you improve the computer&amp;#039;s AI? (Hint: corners)&lt;br /&gt;
** Improve your computer&amp;#039;s AI by prioritizing corners after the center square&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Thursday (3/26/14 - 3/27/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Computer AI Walk-through&lt;br /&gt;
&lt;br /&gt;
== Monday - Tuesday (3/24/14 - 3/25/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete and demo [[Tic-Tac-Toe]] (it is  late at this point)&lt;br /&gt;
* Planning the Tic-Tac-Toe Artificial Intelligence&lt;br /&gt;
*# Play [[Tic-Tac-Toe]] with a partner and document the priorities of your moves&lt;br /&gt;
*# What is the first strategic move you look for?&lt;br /&gt;
*# What is the next strategic move you look for?&lt;br /&gt;
*# Are there defensive moves/checks that you look for?  Describe what exactly you are checking.&lt;br /&gt;
*# Are there offensive moves/checks that you look for?  Describe what exactly you are checking.&lt;br /&gt;
* Plan using commented pseudocode, the different types of functions that you will create for the artificial intelligence.  Describe each of the functions that you will need for your computer AI&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Friday (3/18/14 - 3/21/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete and demo [[Tic-Tac-Toe]] by the end of the week&lt;br /&gt;
* If you are done with [[Tic-Tac-Toe]], then copy and paste your code to create a 1-player version&lt;br /&gt;
** The 1-player version of [[Tic-Tac-Toe]] should allow the computer to automatically take a turn and move&lt;br /&gt;
** The simplest way to do this would be to create a new function where the computer makes a move by evaluating the current board &lt;br /&gt;
&lt;br /&gt;
== Thursday - Friday (3/13/14 - 3/14/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Setting up [[Tic-Tac-Toe]]&lt;br /&gt;
* Work on [[Tic-Tac-Toe]]&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Wednesday (3/11/14 - 3/12/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Take out a piece of paper&lt;br /&gt;
* Draw the figure on the board&lt;br /&gt;
* Determine all the red points of interest&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Work on [[Tic-Tac-Toe]]&lt;br /&gt;
&lt;br /&gt;
== Monday (3/10/14) == &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# With a partner, play Tic-Tac-Toe&lt;br /&gt;
# While you are playing Tic-Tac-Toe, create a flowchart to diagram a Tic-Tac-Toe program design&lt;br /&gt;
# After your flowchart, list variables and functions that you will need to create for your game&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# As a class, we will create the pseudocode for the Tic-Tac-Toe program&lt;br /&gt;
# After each line of pseudocode, we should ask ourselves:&lt;br /&gt;
#* What variables do we need? or what pieces of information must we track?&lt;br /&gt;
#* What functions do we need? What exactly do they need to do?&lt;br /&gt;
#* Is there something in this step that we do not know how to do?&lt;br /&gt;
# 2D coordinate math&lt;br /&gt;
#* Assume you only have the variables cHeight and cWidth&lt;br /&gt;
#* On paper, calculate all the points of interest in Tic-TacToe using cHeight and cWidth&lt;br /&gt;
# Create the drawBoard() function that draws the Tic-Tac-Toe board&lt;br /&gt;
#* You MUST draw the board using the cHeight and cWidth variables (i.e. NO HARD CODED coordinates)&lt;br /&gt;
&lt;br /&gt;
== Friday (3/7/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Mozilla References&lt;br /&gt;
** [https://developer.mozilla.org/en-US/docs/Web/JavaScript JavaScript]&lt;br /&gt;
** [https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial Canvas Tutorials]&lt;br /&gt;
** [https://developer.mozilla.org/en-US/docs/Web/Reference/Events Event Reference]&lt;br /&gt;
* Canvas References&lt;br /&gt;
** [http://joshondesign.com/p/books/canvasdeepdive/toc.html Canvas Deep Dive]&lt;br /&gt;
** [http://www.w3schools.com/html/html5_canvas.asp W3Schools HTML5 Canvas Tutorials]&lt;br /&gt;
** [http://www.w3schools.com/tags/ref_canvas.asp W3Schools Canvas Reference]&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Thursday (3/5/14 - 3/6/14) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo/show Mr. Bui and missing assignments&lt;br /&gt;
* Introduction to HTML Canvas&lt;br /&gt;
** Read and complete the tutorial: [https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Basic_usage Basic usage of Canvas]&lt;br /&gt;
** Don&amp;#039;t worry if you don&amp;#039;t understand everything...this most important part is getting the &amp;#039;&amp;#039;&amp;#039;A skeleton template&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Also refer to this documentation: [http://www.w3schools.com/html/html5_canvas.asp W3Schools HTML5 Canvas], which will explain different parts of the template&lt;br /&gt;
** More Canvas Documentation: [http://www.w3schools.com/tags/ref_canvas.asp W3Schools Canvas Reference]&lt;br /&gt;
** If you&amp;#039;re interested more canvas tutorials can be found here: [https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial Mozilla Canvas Tutorials]&lt;br /&gt;
* Canvas Practice Assignment&lt;br /&gt;
*# Create an HTML+JavaScript file named &amp;#039;&amp;#039;&amp;#039;canvasPractice.html&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*# Use the skeleton template from [https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Basic_usage Basic usage of Canvas]&lt;br /&gt;
*# Refer to [http://www.w3schools.com/html/html5_canvas.asp W3Schools HTML5 Canvas] for specific functions that will be helpful&lt;br /&gt;
*# In the canvas, draw a stick figure with filled in squares or rectangles for hands and feet&lt;br /&gt;
*# Under the stick figure, display a text message in the canvas that says &amp;quot;Computer Science Rocks!&amp;quot;&lt;br /&gt;
* Canvas + Mouse + Events &lt;br /&gt;
* [https://developer.mozilla.org/en-US/docs/Web/Reference/Events Mozilla Web Event Reference]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
      var setup = function()&lt;br /&gt;
      {&lt;br /&gt;
        var canvas = document.getElementById(&amp;#039;canvas&amp;#039;);&lt;br /&gt;
        var ctx = canvas.getContext(&amp;#039;2d&amp;#039;);&lt;br /&gt;
        var windowRect = canvas.getBoundingClientRect();&lt;br /&gt;
        &lt;br /&gt;
        var drawRect = function(evt)&lt;br /&gt;
        {&lt;br /&gt;
          ctx.fillRect(evt.clientX - windowRect.left, evt.clientY - windowRect.top, 20, 20);&lt;br /&gt;
        };&lt;br /&gt;
        &lt;br /&gt;
        canvas.addEventListener(&amp;#039;click&amp;#039;, drawRect);  &lt;br /&gt;
      };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>