lee-a-n / solo-pong-game Goto Github PK
View Code? Open in Web Editor NEWSolo Pong-like arcade game for Meadow and Hack Kit Pro
License: GNU General Public License v3.0
Solo Pong-like arcade game for Meadow and Hack Kit Pro
License: GNU General Public License v3.0
Solo Pong is a small arcade game for the Meadow F7 with Hack Kit Pro or similar hardware. - It uses a rotary encoder for paddle movement. Press the encoder knob for game start/restart. - It uses the ST7789 LCD display - A 3-position On/Off/On SPDT switch is used for setting the volume level (Mute, Soft, or Normal) - The piezo speaker is used for sound effects One point is scored each time the ball hits the paddle. The game gets more difficult as it progresses. The paddle shrinks each time the ball hits the paddle until a minimum size is reached. Subtle changes are made to the direction of the ball following each surface hit. For paddle hits, the angle change is different depending on where the ball strikes the paddle. Enjoy! Hardware: Meadow F7 board, Rotary Encoder, 3-position SPDT On/Off/On switch, ST7789 LDC display, Piezo speaker, 0.1 microFarad capacitor, 2 10K resistors All of the hardware is include in the Pro Hack Kit. Wiring: SPDT 3-position On/Off/On switch (used for volume settings Mute/Soft/Normal): top - 10K resistor to ground, pin D03 middle - Vcc bottom - 10K resistor to ground, pin D04 Rotary Encoder: CLK - pin D10 DT - pin D09 SW - 0.1 microFarad capacitor to ground, pin D08 + - Vcc GND - Ground Piezo Speaker: Red: Pin D07 Black: Ground ST7789 Display: GND: Ground VCC: Vcc SCL: SCK SDA: MOSI RES: Pin D00 DC: Pin D01 ------------------------------------------ NuGet Packages needed: Meadow.Foundation Meadow.Foundation.Displays.TftSpi
Remove the AsyncGraphics lock count. It's harmless but it doesn't do anything because the lock already prevents loop iteration. Add comments about why the lock is there while you're at it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.