Skip to content

Pong game on the Arduino and OLED display, for Ludum Dare MiniLD #58

Notifications You must be signed in to change notification settings

anachrocomputer/OledPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Static Badge Static Badge Static Badge Static Badge

OLEDPong

A game of 'Pong' on the 128x64 pixel OLED display.

Ludum Dare

I wrote this game for Ludum Dare's MiniLD #58 PONG:

https://web.archive.org/web/20150328062339/http:/ludumdare.com:80/compo/2015/03/13/mini-ld-58-march-20-29/

Many implementations of PONG were sent to the MiniLD contest, and mine is here:

https://web.archive.org/web/20170925070716/http://ludumdare.com/compo/minild-58/?action=preview&uid=13730

Short video of the game in operation, on YouTube here:

https://www.youtube.com/watch?v=ORZMssJ-CQk

Screenshot

PONG

The Display

The 128x64 pixel OLED display uses an SSD1306 driver chip. This is a commonly-available module, but it uses a 3.3V interface voltage (the standard Arduino is 5V). I use a level-shifter based on either the CD4050 or the 74HC4050 to convert the SPI pins on the Arduino to 3.3V.

Player Control

The player starts the game via a button on the Arduino digital pin 2. Control of the bat is by an analog paddle or joystick connected to the Arduino analog pin A0.

About

Pong game on the Arduino and OLED display, for Ludum Dare MiniLD #58

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published