<?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=APCS_-_1819_-_January</id>
	<title>APCS - 1819 - January - 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=APCS_-_1819_-_January"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=APCS_-_1819_-_January&amp;action=history"/>
	<updated>2026-09-30T11:49:18Z</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=APCS_-_1819_-_January&amp;diff=15200&amp;oldid=prev</id>
		<title>Admin: Protected &quot;APCS - 1819 - January&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=APCS_-_1819_-_January&amp;diff=15200&amp;oldid=prev"/>
		<updated>2019-03-05T02:51:20Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/APCS_-_1819_-_January&quot; title=&quot;APCS - 1819 - January&quot;&gt;APCS - 1819 - January&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 02:51, 5 March 2019&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=APCS_-_1819_-_January&amp;diff=15197&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Thursday (1/31/19) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * Demo Item Collection Game * Arrays of Objects ** String arrays (review) ** Ball class and Ball array * Item Collection Game w/ Object...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=APCS_-_1819_-_January&amp;diff=15197&amp;oldid=prev"/>
		<updated>2019-03-05T02:50:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Thursday (1/31/19) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * Demo Item Collection Game * Arrays of Objects ** String arrays (review) ** Ball class and Ball array * Item Collection Game w/ Object...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Thursday (1/31/19) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo Item Collection Game&lt;br /&gt;
* Arrays of Objects&lt;br /&gt;
** String arrays (review)&lt;br /&gt;
** Ball class and Ball array&lt;br /&gt;
* Item Collection Game w/ Object Arrays (assignment)&lt;br /&gt;
*# Copy your Item Collection Game to a new Processing sketch&lt;br /&gt;
*# Convert your item Sprites collected into an array&lt;br /&gt;
*# Convert your robot Sprites into an array&lt;br /&gt;
*# Demo your converted game on &amp;#039;&amp;#039;&amp;#039;Monday (2/4/19)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Tuesday (1/29/19) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Item Collection Game - &amp;#039;&amp;#039;&amp;#039;due Thursday (1/31/19)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*# We will design a simple top-down item collection game using a new Sprite class (specified below)&lt;br /&gt;
*# Find and download Sprite images of your choosing&lt;br /&gt;
*# You can move the player sprite with the keyboard (wrap the player to the other side of the screen if you go off screen)&lt;br /&gt;
*# The player sprite will be able to collect item sprites&lt;br /&gt;
*# Robot sprites will follow the player around&lt;br /&gt;
*# You win when you collect all the items&lt;br /&gt;
*# You lose if a robot collides with your sprite&lt;br /&gt;
* Sprite class (has similarities to the previous Sprite class)&lt;br /&gt;
** Attributes: &lt;br /&gt;
*** double x, y (to be used for position)&lt;br /&gt;
*** double dx, dy (to be used for step size when moving -- always positive)&lt;br /&gt;
*** PImage img (stores the image)&lt;br /&gt;
*** boolean visible (default setting is true -- we will use this variable to track the Sprite&amp;#039;s visibility state)&lt;br /&gt;
** Constructors:&lt;br /&gt;
*** Sprite()&lt;br /&gt;
*** Sprite(String imgfile, double x, double y, double dx, double dy)&lt;br /&gt;
** Methods:&lt;br /&gt;
*** void display() - if visible is true, then display the image&lt;br /&gt;
*** void moveLeft() - move x-coordinate to the left by dx amount&lt;br /&gt;
*** void moveRight() - move x-coordinate to the right by dx amount&lt;br /&gt;
*** void moveUp() - move y-coodrinate upwards by dy amount&lt;br /&gt;
*** void moveDown() - move y-coodrinate downwards by dy amount&lt;br /&gt;
*** boolean checkCollision(Sprite other) - returns true if this Sprite is colliding with the other Sprite (use previous Sprite class to help with this method)&lt;br /&gt;
*** void follow(Sprite other) - compare x and y coordinates of this Sprite with the other Sprite -- move this Sprite towards other Sprite by using the move____() methods&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Thursday (1/22/19 - 1/24/19) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [https://drive.google.com/file/d/1tQc3yOyfjy7xN6oz0glIeFHqJgORmuAd/view?usp=sharing Dino Game example]&lt;br /&gt;
** We will convert the non-OOP version into an [https://drive.google.com/file/d/1FAO7kdtVrYrrO4jgcRMap3S3UtDqFe_W/view?usp=sharing OOP version]&lt;br /&gt;
** Add another cactus to the dino game&lt;br /&gt;
* Flappy Bird OOP&lt;br /&gt;
** What modifications to our Sprite class do we need to make?&lt;br /&gt;
** Here are some Flappy Bird sprite images [https://drive.google.com/file/d/1UugFrLPjeA8YPXOlmOxjIvzd6HdvpupA/view?usp=sharing here]&lt;br /&gt;
** Implement the OOP version of Flappy Bird in Processing&lt;br /&gt;
** Bird will need to flap when a key is pressed&lt;br /&gt;
** Pipes will need to move and wrap around the screen&lt;br /&gt;
** Score increases when a pipe is passed (this will require something to be added to the Sprite class)&lt;br /&gt;
** Lose when bird collides with a pipe or when the Bird goes too far below the screen&lt;br /&gt;
** Due &amp;#039;&amp;#039;&amp;#039;Thursday (1/24/19)&amp;#039;&amp;#039;&amp;#039; -- last assignment of 2nd Quarter&lt;br /&gt;
&lt;br /&gt;
== Thursday (1/17/19) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Submit your Circle class to repl.it&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Object-Oriented Programming cont&amp;#039;d&lt;br /&gt;
** OOP Review - attributes, constructors, setters, getters, public vs. private, this&lt;br /&gt;
** toString() method (using the Point class)&lt;br /&gt;
** Submit Point class to repl.it&lt;br /&gt;
** [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides]&lt;br /&gt;
* Complete the Car class assignments in repl.it&lt;br /&gt;
* [https://drive.google.com/file/d/1tQc3yOyfjy7xN6oz0glIeFHqJgORmuAd/view?usp=sharing Dino Game example]&lt;br /&gt;
** Add another cactus to the dino game&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete eIMACS: Activity 14: Address Objects&lt;br /&gt;
&lt;br /&gt;
== Tuesday (1/15/19) ==&lt;br /&gt;
* Snow Day&lt;br /&gt;
&lt;br /&gt;
== Friday (1/11/19) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Object-Oriented Programming cont&amp;#039;d&lt;br /&gt;
** Person class review&lt;br /&gt;
** Vocab:&lt;br /&gt;
*** class vs object&lt;br /&gt;
*** declaration vs instantiation&lt;br /&gt;
** Point class example&lt;br /&gt;
** Point object instantiation&lt;br /&gt;
** Point object usage&lt;br /&gt;
** [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides]&lt;br /&gt;
** Circle class example&lt;br /&gt;
** [https://drive.google.com/file/d/1tQc3yOyfjy7xN6oz0glIeFHqJgORmuAd/view?usp=sharing Dino Game example]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Create a Circle class and test it out&lt;br /&gt;
* Follow the [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides]&lt;br /&gt;
&lt;br /&gt;
== Wednesday (1/9/19) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Cornell Engineering Diversity Programs - one-week residential programs:&lt;br /&gt;
** [https://sites.coecis.cornell.edu/catalystacademy/ Catalyst Academy] - juniors and seniors from underrepresented backgrounds&lt;br /&gt;
** [https://sites.coecis.cornell.edu/curieacademy/ Curie Academy] - high school girls who excel in math and science&lt;br /&gt;
* Recursion quiz&lt;br /&gt;
* Submit Recursion Problems to repl.it&lt;br /&gt;
** public static int count(String s, String ch) - returns the number of occurrences of ch (single character string) within s&lt;br /&gt;
** public static String reverse(String s) - returns the reversed String s&lt;br /&gt;
** public static int reverse(int i) - returns an int that is the full digit reversal of i (e.g. 1234 -&amp;gt; 4321)&lt;br /&gt;
* Introduction to Object-Oriented Programming&lt;br /&gt;
** [https://repl.it/@paulbui/SimpleProgramWithoutOOP Simple program without OOP example]&lt;br /&gt;
** Simple program with OOP example&lt;br /&gt;
** Point class example&lt;br /&gt;
** Point object instantiation&lt;br /&gt;
** Point object usage&lt;br /&gt;
** [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides]&lt;br /&gt;
** Circle class example&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete and submit recursion problems to repl.it&lt;br /&gt;
* Review SimpleProgramWithOOP notes that we did in class&lt;br /&gt;
&lt;br /&gt;
== Monday (1/7/19) ==&lt;br /&gt;
* Don&amp;#039;t forget to complete Activity 13 (due tonight)&lt;br /&gt;
* Recursion Quiz Wednesday (1/9/19)&lt;br /&gt;
** Multiple choice questions&lt;br /&gt;
** Free-response question(s)&lt;br /&gt;
* Recursion Review &amp;amp; Practice&lt;br /&gt;
* Recursion Problems (prepare to submit to repl.it)&lt;br /&gt;
** public static int count(String s, String ch) - returns the number of occurrences of ch (single character string) within s&lt;br /&gt;
** public static String reverse(String s) - returns the reversed String s&lt;br /&gt;
** public static int reverse(int i) - returns an int that is the full digit reversal of i (e.g. 1234 -&amp;gt; 4321)&lt;br /&gt;
&lt;br /&gt;
== Monday - Friday (12/31/18 - 1/4/19) ==&lt;br /&gt;
* Winter Break&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>