Close
0%
0%

PyBadge Single Player Pong

CircuitPython example game code

Similar projects worth following
This sample game shows an implementation of single player pong. The player uses the up / down buttons on the d-pad to control the left paddle. The game controls the right paddle by trying to keep it centered on the ball.

Github Link

  • Pew Pew M4

    foamyguy03/19/2020 at 02:53 0 comments

    My Pew Pew arrived today. I figured pong was a good place to start so I had a go at making this project work on it. Spoiler: we made it! 

    When I made this game initially it was on an Edgebadge and the use of the pybadger library allowed it to work on all pybadges and the pygamer. 

    I see now this is actually somewhat limiting. For now I have re-written it to use gamepad instead of pybadger. This allows the dpad buttons to work with the pew pew. But it does not translate back to the pybadger because the buttons are connected to a shift register. Perhaps we can have abstraction layer somewhere that can check which device it's on and make commonly used buttons work the same way. 

View project log

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates