<?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_-_1213_-_November</id>
	<title>IBCS1 - 1213 - November - 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_-_1213_-_November"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1213_-_November&amp;action=history"/>
	<updated>2026-04-26T17:40:59Z</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_-_1213_-_November&amp;diff=9708&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1213 - November&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1213_-_November&amp;diff=9708&amp;oldid=prev"/>
		<updated>2012-12-18T17:27:27Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1213_-_November&quot; title=&quot;IBCS1 - 1213 - November&quot;&gt;IBCS1 - 1213 - November&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))&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 17:27, 18 December 2012&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_-_1213_-_November&amp;diff=9706&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Friday (11/30/12) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * Collision Detection * Basic Pong - due today *# Left paddle moves up and down *# Right paddle moves up and down *# Ball bounces around *#*...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1213_-_November&amp;diff=9706&amp;oldid=prev"/>
		<updated>2012-12-18T17:27:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Friday (11/30/12) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * Collision Detection * Basic Pong - due today *# Left paddle moves up and down *# Right paddle moves up and down *# Ball bounces around *#*...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Friday (11/30/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Collision Detection&lt;br /&gt;
* Basic Pong - due today&lt;br /&gt;
*# Left paddle moves up and down&lt;br /&gt;
*# Right paddle moves up and down&lt;br /&gt;
*# Ball bounces around&lt;br /&gt;
*#* Bounces off of top and bottom walls&lt;br /&gt;
*#* Bounces off of paddles&lt;br /&gt;
*#* If the ball touches the left or right walls, reset the ball&lt;br /&gt;
*#* Reset the ball by updating it&amp;#039;s center to go to (width/2, height/2)&lt;br /&gt;
*#* Example: ballrect.center = (width/2, height/2)&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Thursday (11/27/12 - 11/29/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Python&amp;quot;&amp;gt;&lt;br /&gt;
import sys, pygame&lt;br /&gt;
pygame.init()&lt;br /&gt;
&lt;br /&gt;
width = 600&lt;br /&gt;
height = 400&lt;br /&gt;
dx = 1&lt;br /&gt;
dy = 1&lt;br /&gt;
black = 0, 0, 0&lt;br /&gt;
&lt;br /&gt;
screen = pygame.display.set_mode((width, height))&lt;br /&gt;
 &lt;br /&gt;
ball = pygame.image.load(&amp;quot;ball.gif&amp;quot;)&lt;br /&gt;
ballrect = ball.get_rect()&lt;br /&gt;
&lt;br /&gt;
while True:&lt;br /&gt;
    for event in pygame.event.get():&lt;br /&gt;
        if event.type == pygame.QUIT:&lt;br /&gt;
            sys.exit()&lt;br /&gt;
&lt;br /&gt;
    ballrect = ballrect.move((dx,dy))&lt;br /&gt;
    &lt;br /&gt;
    if ballrect.left &amp;lt; 0 or ballrect.right &amp;gt; width:&lt;br /&gt;
        dx *= -1&lt;br /&gt;
    if ballrect.top &amp;lt; 0 or ballrect.bottom &amp;gt; height:&lt;br /&gt;
        dy *= -1&lt;br /&gt;
&lt;br /&gt;
    screen.fill(black)&lt;br /&gt;
    screen.blit(ball, ballrect)&lt;br /&gt;
    pygame.display.flip()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Pygame walk-through and notes&lt;br /&gt;
* Comment each line of code from the [http://www.pygame.org/docs/tut/intro/intro.html Pygame Tutorial]&lt;br /&gt;
** You comment should be a note of what that line is doing&lt;br /&gt;
* [http://www.pygame.org/docs/ Pygame Documentation]&lt;br /&gt;
* Keyboard events in Pygame&lt;br /&gt;
* Basic Game Play (&amp;quot;dodge the ball&amp;quot; w/ 2 players)&lt;br /&gt;
*# Create 3 images and rectangles for 2 players and a ball&lt;br /&gt;
*# Have one player controlled by arrow keys&lt;br /&gt;
*# Have the other player controlled by W-A-S-D&lt;br /&gt;
*# Add a third ball that bounces around the screen&lt;br /&gt;
*# Check if either player rectangle collides with the ball rectangle...then...&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Monday (11/20/12 - 11/26/12) ==&lt;br /&gt;
* Complete [[Turtle - Graphing Calculator]]&lt;br /&gt;
* Introduction to Pygame&lt;br /&gt;
*# Wing IDE 101-&amp;gt;Edit-&amp;gt;Configure Python-&amp;gt; make sure all the settings are default&lt;br /&gt;
*# Go to [http://www.pygame.org/docs/tut/intro/intro.html Pygame Tutorial]&lt;br /&gt;
*# Download the ball picture&lt;br /&gt;
*# Walk through the tutorial (NOTE: Line 10 should say &amp;quot;ball.gif&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== Monday (11/19/12) ==&lt;br /&gt;
* Demo [[Turtle - Looping Assignment]]&lt;br /&gt;
* Complete [[Turtle - Graphing Calculator]]&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Friday  (11/14/12 - 11/16/12) ==&lt;br /&gt;
* Order of Operations Redemption Quiz 2&lt;br /&gt;
* Demo [[Turtle - Looping Assignment]]&lt;br /&gt;
* Complete [[Turtle - Graphing Calculator]]&lt;br /&gt;
&lt;br /&gt;
== Tuesday (11/13/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* VA Workplace Readiness Assessment Pre-test (1 hr)&lt;br /&gt;
** There are on-screen tools (e.g. calculator) that you can use&lt;br /&gt;
&lt;br /&gt;
== Friday (11/9/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Order of Operations Redemption Quiz&lt;br /&gt;
** No calculators!&lt;br /&gt;
** When you are done, print your score and tell Mr. Bui&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* VA Workplace Readiness Assessment Pre-test (1 hr)&lt;br /&gt;
** There are on-screen tools (e.g. calculator) that you can use&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Thursday (11/7/12 - 11/8/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Execute the code below&lt;br /&gt;
* When prompted, use 100 for x and 200 for y&lt;br /&gt;
* What does each line do?  Analyze!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Python&amp;quot;&amp;gt;&lt;br /&gt;
from turtle import *&lt;br /&gt;
&lt;br /&gt;
setup(200, 400)&lt;br /&gt;
screensize(200, 400)&lt;br /&gt;
x = numinput(&amp;quot;X prompt&amp;quot;, &amp;quot;Please enter an x&amp;quot;)&lt;br /&gt;
y = numinput(&amp;quot;Y prompt&amp;quot;, &amp;quot;Please enter a y&amp;quot;)&lt;br /&gt;
goto(x,y)&lt;br /&gt;
exitonclick()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Return 1st Quarter Exams&lt;br /&gt;
* [https://docs.google.com/spreadsheet/viewform?formkey=dGJUZFdpelg4TV9IZ1BhbllZRUk0X0E6MQ 1st Quarter Exam Debrief]&lt;br /&gt;
* Complete [[Turtle - Looping Assignment]] (practice loops with turtle)&lt;br /&gt;
* [[Turtle - Graphing Calculator]]&lt;br /&gt;
&lt;br /&gt;
== Friday - Monday (11/2/12 - 11/5/12) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* 1st Quarter Exam&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>