Pong »

Pong

Pong.Pong History

Hide minor edits - Show changes to output

March 27, 2014 by procek -
Changed lines 56-57 from:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/DF_Robot_Input_Shield_Guide.pdf|Input Shield Tutorial]] || N/A ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/DF_Robot_Input_Shield_Guide.pdf|Input Shield Tutorial]] ||[[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/INPUT_SHIELD_SENDER.txt|Sender]]/[[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/INPUT_SHIELD_RECEIVER.txt|Reciever]]||
Deleted lines 165-166:

March 23, 2014 by procek -
Changed line 88 from:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.pdf|Interface Requirements]] || N/A ||
to:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game_Interface.pdf|Interface Requirements]] || N/A ||
March 23, 2014 by procek -
Changed line 138 from:
|| N/A || [http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Serial_Interface_With_ADXL362.pdf|Serial Interface Guide]] || N/A ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Serial_Interface_With_ADXL362.pdf|Serial Interface Guide]] || N/A ||
March 23, 2014 by procek -
Changed lines 77-78 from:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Ball-Paddle-Collision.docx|Making Ball-Paddle Collisions]] || N/A ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Collision_Handling.pdf|Making Ball-Paddle Collisions]] || N/A ||
Changed lines 88-89 from:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.docx|Interface tips]] || N/A ||
to:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.pdf|Interface Requirements]] || N/A ||
Changed lines 99-100 from:
|| N/A || N/A || N/A ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Serial_Interface_Modification.pdf|Serial Interface Modification]] || N/A ||
Changed lines 110-111 from:
|| N/A || N/A || N/A ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Two_Player_Modifications.pdf|Two-Player Modifications]] || N/A ||
Changed lines 127-128 from:
|| N/A || N/A || N/A ||
to:
|| N/A ||[[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/ADXL362_ACCELEROMETER_WIRING.pdf|ADXL362 Wiring]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/ADXL362_WIRING_SCHEMATIC.png|Wiring Schematic]] ||
Changed lines 138-139 from:
|| N/A || N/A || N/A ||
to:
|| N/A || [http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Serial_Interface_With_ADXL362.pdf|Serial Interface Guide]] || N/A ||
Deleted line 165:
March 23, 2014 by procek -
Changed line 56 from:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Input-Shield-1.docx|Input Shield Tutorial]] || N/A ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/DF_Robot_Input_Shield_Guide.pdf|Input Shield Tutorial]] || N/A ||
March 19, 2014 by procek -
Changed line 158 from:
!!!Modifying Your Interface Using The Touchscreen
to:
!!!Moving The Paddle With The Accelerometer
March 19, 2014 by procek -
March 19, 2014 by procek -
Changed lines 32-33 from:
|| [[http://www.youtube.com/watch?v=AtP3aqIyrz0|LCD Touchscreen Tutorial]] || || ||
to:
|| [[http://www.youtube.com/watch?v=AtP3aqIyrz0|LCD Touchscreen Tutorial]] || N/A || N/A ||
Changed lines 45-46 from:
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] ||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Graphics-Pong.ino|Graphics_Pong]] ||
to:
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] || N/A  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Graphics-Pong.ino|Graphics_Pong]] ||
Changed lines 56-57 from:
|| || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Input-Shield-1.docx|Input Shield Tutorial]] || ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Input-Shield-1.docx|Input Shield Tutorial]] || N/A ||
Changed lines 67-68 from:
|| || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Computer-Player.docx|Computer Player Help]] || ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Computer-Player.docx|Computer Player Help]] || N/A ||
Changed lines 77-78 from:
|| || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Ball-Paddle-Collision.docx|Making Ball-Paddle Collisions]] || ||
to:
|| N/A || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Ball-Paddle-Collision.docx|Making Ball-Paddle Collisions]] || N/A ||
Changed line 88 from:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.docx|Interface tips]] || ||
to:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.docx|Interface tips]] || N/A ||
March 19, 2014 by procek -
Added lines 144-168:

|| Border=1
!!!Session 12:
!!!Modifying Your Interface Using The Touchscreen
|| Videos || Text Files || Source File||
|| N/A || N/A || N/A ||

In session 12, we go over the touchscreen library functions and implement them to modify our interface to navigate without the use of the input shield.

\\
\\

|| Border=1
!!!Session 13:
!!!Modifying Your Interface Using The Touchscreen
|| Videos || Text Files || Source File||
|| N/A || N/A || N/A ||

In session 13, implement our code from session 11 into the pong game itself and use the accelerometer readings to move our paddle.

\\
\\


March 19, 2014 by procek -
Changed lines 101-102 from:
In Session 8, you will go back to the sketches you created for sending/receiving input from the input shield and modify the code to send/receive signals from the up/down push buttons. Once completed, you will implement this new version of your code into your game of pong replacing your old input receiving function.
to:
In session 8, you will go back to the sketches you created for sending/receiving input from the input shield and modify the code to send/receive signals from the up/down push buttons. Once completed, you will implement this new version of your code into your game of pong replacing your old input receiving function.
Changed lines 112-113 from:
In Session 9, you will modify your completed game to integrate both single player and two player modes and adjust your interface accordingly.
to:
In session 9, you will modify your completed game to integrate both single player and two player modes and adjust your interface accordingly.
Changed lines 129-130 from:
In Session 10, you will be shown how to properly wire the accelerometer using a step down voltage converter. This accelerometer will control the movement of the paddle.
to:
In session 10, you will be shown how to properly wire the accelerometer using a step down voltage converter. This accelerometer will control the movement of the paddle.
Changed lines 132-144 from:
\\
to:
\\

|| Border=1
!!!Session 11:
!!!Serial Interface With The Accelerometer
|| Videos || Text Files || Source File||
|| N/A || N/A || N/A ||

In session 11, you will create two sketches to send and receive input using the accelerometer similar to the sketches written in session 4.

\\
\\

March 19, 2014 by procek -
Changed lines 118-132 from:
!! '''''These Are Mandatory Only For Groups Who Have Finished The Base Project and Have Two Weeks Left'''''
to:
!! '''''These Are Mandatory Only For Groups Who Have Finished The Base Project and Have Two Weeks Left'''''

\\
\\

|| Border=1
!!!Session 10:
!!!Replacing The Input Shield With An Accelerometer
|| Videos || Text Files || Source File||
|| N/A || N/A || N/A ||

In Session 10, you will be shown how to properly wire the accelerometer using a step down voltage converter. This accelerometer will control the movement of the paddle.

\\
\\
March 19, 2014 by procek -
Changed lines 112-118 from:
In Session 9, you will modify your completed game to integrate both single player and two player modes and adjust your interface accordingly.
to:
In Session 9, you will modify your completed game to integrate both single player and two player modes and adjust your interface accordingly.

\\
\\

!! '''''[++The Following Sessions Require a Minimum of Two Weeks To Complete++]'''''
!! '''''These Are Mandatory Only For Groups Who Have Finished The Base Project and Have Two Weeks Left'''''
March 19, 2014 by procek -
Changed line 108 from:
!!!Modify Your Interface And Code To Allow Single Or Two Player Mode
to:
!!!Modify Your Interface and Code To Allow Single or Two Player Mode
March 19, 2014 by procek -
Changed line 86 from:
!!!Completing the Pong Game and Interface
to:
!!!Complete The Pong Single Player Game and Interface
Changed lines 88-112 from:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.docx|Interface tips]] || ||
to:
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.docx|Interface tips]] || ||

In session 7, you will complete the single player version of pong and create a basic user interface as well as implement score keeping through modifications of functions you already wrote.

\\
\\

|| Border=1
!!!Session 8:
!!!Revisiting Your Input Shield Sending/Recieving Code For 2 Player Mode
|| Videos || Text Files || Source File||
|| N/A || N/A || N/A ||

In Session 8, you will go back to the sketches you created for sending/receiving input from the input shield and modify the code to send/receive signals from the up/down push buttons. Once completed, you will implement this new version of your code into your game of pong replacing your old input receiving function.

\\
\\

|| Border=1
!!!Session 9:
!!!Modify Your Interface And Code To Allow Single Or Two Player Mode
|| Videos || Text Files || Source File||
|| N/A || N/A || N/A ||

In Session 9, you will modify your completed game to integrate both single player and two player modes and adjust your interface accordingly.
March 19, 2014 by procek -
Changed line 75 from:
!!!Making Ball-Paddle Collisions
to:
!!!Creating The Ball Collisions
Added lines 78-79:

In session 6, you will create a set of functions that will handle collisions of the paddles and borders as well as a function to handle the ball going out of bounds.
March 19, 2014 by procek -
Changed line 65 from:
!!!Making the Computer Player move
to:
!!!Creating The Computer Player
Added line 69:
In Session 5, now that you have implemented functionality to move your pong paddle using the analog stick, implement the same redrawing technique to create an A.I. opponent that controls the other paddle.
March 19, 2014 by procek -
Changed line 54 from:
!!!Getting the Input Shield Working
to:
!!!Input Shield Set up & Learning The Serial Interface
Changed line 58 from:
You will notice that when you plug in your Input Shield there is a constant vibration. This is built into the shield and cannot be turned off because of pin overlap, so just don't worry about it =)
to:
In Session 4, we run through how to properly connect your Input Shield and how to utilize the serial interface to communicate between two Arduino Microcontrollers to create the input needed for a single player game of pong.
March 19, 2014 by procek -
Added line 37:
Changed line 43 from:
!!!Making Custom Graphics on the LCD
to:
!!!Adafruit Graphics Library Functions
Added lines 46-47:

In session 3, we run through some basic functions included in the Adafruit graphics libraries that will allow us to draw some basic shapes needed for our game of pong.
March 19, 2014 by procek -
Changed lines 50-51 from:
||! Session 4-Getting the Input Shield Working! !||
to:
!!!Session 4:
!!!
Getting the Input Shield Working
Changed lines 61-62 from:
||! Session 5-Making the Computer Player move !||
to:
!!!Session 5:
!!!
Making the Computer Player move
Changed lines 70-71 from:
||! Session 6-Making Ball-Paddle Collisions !||
to:
!!!Session 6:
!!!
Making Ball-Paddle Collisions
Changed lines 79-80 from:
||! Session 7-Completing the Pong Game and Interface !||
to:
!!!Session 7:
!!!
Completing the Pong Game and Interface
March 19, 2014 by procek -
Changed lines 29-30 from:
||! Session 2-Getting the LCD Touchscreen Working !||
to:
!!!Session 2:
!!!
Getting the LCD Touchscreen Working
Changed lines 41-42 from:
||! Session 3-Making Custom Graphics on the LCD !||
to:
!!!Session 3:
!!!
Making Custom Graphics on the LCD
March 19, 2014 by procek -
Changed lines 1-2 from:
!!Arduino Pong
to:
!![++Arduino Pong++]
Changed lines 5-11 from:
\\

*
[[Milestones]]



\\
to:


[++[[Milestones]]++]


March 18, 2014 by procek -
Changed lines 15-18 from:
||! Session 1-Getting the Hardware Put Together !||
to:
!!!Session 1:
!!!Hardware Assembly

Changed lines 20-22 from:
|| [[http://www.youtube.com/watch?v=UWr1-NPfrHw|Pong Assembly]] || || ||

In this session, you are simply putting the correct shields on the Arduino board.
to:
|| [[http://www.youtube.com/watch?v=UWr1-NPfrHw|Pong Assembly]] || N/A || N/A ||

In this session, we introduce the DF Robot Input Shield, the Liquidware Extender Shield,
and the Adafruit 2.8" LCD Touchscreen and explain how to properly assemble them
.
March 09, 2014 by procek -
Changed line 28 from:
|| [[http://www.youtube.com/watch?v=icNz5bDkwDM|LCD Touchscreen Tutorial]] ||  || ||
to:
|| [[http://www.youtube.com/watch?v=AtP3aqIyrz0|LCD Touchscreen Tutorial]] ||  || ||
March 09, 2014 by procek -
Changed line 17 from:
|| [[http://www.youtube.com/watch?v=AtP3aqIyrz0&feature|Pong Assembly]] ||  || ||
to:
|| [[http://www.youtube.com/watch?v=UWr1-NPfrHw|Pong Assembly]] ||  || ||
March 09, 2014 by procek -
Changed line 17 from:
|| [[http://www.youtube.com/watch?v=UWr1-NPfrHw|Pong Assembly]] ||  || ||
to:
|| [[http://www.youtube.com/watch?v=AtP3aqIyrz0&feature|Pong Assembly]] ||  || ||
March 02, 2014 by alejandr -
March 02, 2014 by alejandr -
Changed line 39 from:
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] ||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Graphics_Pong.ino|Graphics_Pong]] ||
to:
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] ||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Graphics-Pong.ino|Graphics_Pong]] ||
March 02, 2014 by alejandr -
March 02, 2014 by alejandr -
Changed line 30 from:
[[http://www.ladyada.net/products/tfttouchshield/|LCD Libraries]]\\
to:
[[http://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2/graphics-test|LCD Libraries]]\\
February 02, 2014 by pradip16 -
Changed line 39 from:
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] ||  || [[https://www.dropbox.com/s/idcq920lc7soxv9/Graphics_Pong.ino|Graphics_Pong]] ||
to:
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] ||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Graphics_Pong.ino|Graphics_Pong]] ||
January 25, 2014 by pradip16 - Creating Arduino Pong
Added lines 1-73:
!!Arduino Pong

\\
\\
\\

*[[Milestones]]



\\
\\

|| Border=1
||! Session 1-Getting the Hardware Put Together !||
|| Videos || Text Files || Source File ||
|| [[http://www.youtube.com/watch?v=UWr1-NPfrHw|Pong Assembly]] ||  || ||

In this session, you are simply putting the correct shields on the Arduino board.

\\
\\


|| Border=1
||! Session 2-Getting the LCD Touchscreen Working !||
|| Videos || Text Files || Source File ||
|| [[http://www.youtube.com/watch?v=icNz5bDkwDM|LCD Touchscreen Tutorial]] ||  || ||

[[http://www.ladyada.net/products/tfttouchshield/|LCD Libraries]]\\

In session 2, you will be importing the necessary libraries needed to operate the LCD Touchscreen. Then you will run a simple graphics program to make sure that you have done everything right.
\\
\\

|| Border=1
||! Session 3-Making Custom Graphics on the LCD !||
|| Videos || Text Files || Source File ||
|| [[http://www.youtube.com/watch?v=R8MrPfMZ4WI|Pong Graphics]] ||  || [[https://www.dropbox.com/s/idcq920lc7soxv9/Graphics_Pong.ino|Graphics_Pong]] ||

\\
\\

|| Border=1
||! Session 4-Getting the Input Shield Working! !||
|| Videos || Text Files || Source File ||
||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Input-Shield-1.docx|Input Shield Tutorial]] || ||

You will notice that when you plug in your Input Shield there is a constant vibration. This is built into the shield and cannot be turned off because of pin overlap, so just don't worry about it =)

\\
\\

|| Border=1
||! Session 5-Making the Computer Player move !||
|| Videos || Text Files || Source File ||
||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Computer-Player.docx|Computer Player Help]] || ||

\\
\\

|| Border=1
||! Session 6-Making Ball-Paddle Collisions !||
|| Videos || Text Files || Source File ||
||  || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Ball-Paddle-Collision.docx|Making Ball-Paddle Collisions]] || ||

\\
\\

|| Border=1
||! Session 7-Completing the Pong Game and Interface !||
|| Videos || Text Files || Source File ||
|| [[http://www.youtube.com/watch?v=scrweNFB72I|Complete Pong Game]] || [[http://pages.cs.wisc.edu/~karu/courses/BYOC/handouts/Pong/Game-Interface.docx|Interface tips]] || ||

Page last modified on March 27, 2014, visited times

Edit - History - Print - Recent Changes (All) - Search