Shop OBEX P1 Docs P2 Docs Learn Events
Prop. Pong — Parallax Forums

Prop. Pong

A.C. fishingA.C. fishing Posts: 262
edited 2010-11-23 20:16 in Propeller 1
Here is a game I've been working on with the propellor called Propellor Pong. I used the Graphics_demo program as a framework. attached is the code for the game, which is regular pong. It runs on a TV, so hook up your demo board to a standard TV. Also, you need a mouse for playing. It is pretty hard, but you can win.(I have a few times). The trick is to get the ball going really fast.
Make sure you run this in the Propellor/Examples/Library folder(or any folder that has the TV, graphics, and mouse objects.
Tell me what you think of it,
ACfishing

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Somebody said...
-Never Underestimate the power of human stupidity.

Comments

  • rokickirokicki Posts: 1,000
    edited 2007-01-21 01:42
    Pretty hard to win that game! Anyway, I hope this is just the start of a whole bunch of programs like this.
    We really do need a repository of "demo board" games and things somewhere, ditto Hydra (although for that,
    it comes with so many).

    Congratulations! Keep on improving it!
  • Dennis FerronDennis Ferron Posts: 480
    edited 2007-01-21 17:10
    My friend's fiancee mentioned seeing something called the "pong clock". It's a clock that animates a pong game; the game score represents the current time. Every minute, the right side scores a point, and every hour, the left side scores a point.
  • PerryPerry Posts: 253
    edited 2007-02-25 15:16
    Nice work

    Here is a variation you should find entertaining

    plug a second mouse into the keyboard and play against another 'humon'


    Perry
  • OLTAdminOLTAdmin Posts: 3
    edited 2007-02-25 15:36
    Dennis Ferron said...
    My friend's fiancee mentioned seeing something called the "pong clock". It's a clock that animates a pong game; the game score represents the current time. Every minute, the right side scores a point, and every hour, the left side scores a point.


    There are two different clocks like that on Makezine, my favorite is the watch.

    Wall Clock:
    www.makezine.com/blog/archive/2005/11/the_pong_clock.html
    Watch:
    www.makezine.com/blog/archive/2006/09/homemade_pong_watch.html

    I would be cool to see someone make something similar with a Prop.

    Lyle
  • Dennis FerronDennis Ferron Posts: 480
    edited 2007-02-25 18:07
    I've been thinking about a Propeller watch for a while now. You could make a watch out of the Propeller demo board, by cutting the circuit board so that only the Prop and the first two rows of holes around it are exposed, and stack the OLED display on top of it. Instead of placing the battery in the watch, you could place several small batteries along the watch band itself, so that they wouldn't take up any space in the main part of the watch. If you don't care about weight you could probably carry enough battery power to last three or four days that way.

    A Propeller pong wall clock would probably be easier though. Projects have a way of growing larger than you originally intended; I think a Propeller watch could be done, but I'm not 100% sure it would really fit.
  • psyko_chewbaccapsyko_chewbacca Posts: 4
    edited 2010-11-23 15:56
    Hi, sorry for reviving an old thread. I am looking to adapt the code of Prop Pong to use it with a VGA screen instead of the TV.

    I am a real beginner in propeller programming. I am reading ton of stuff right now but I don't have a clue on how to convert the current code to work with a VGA screen.

    Could anyone help me out?

    Thanks
  • hinvhinv Posts: 1,255
    edited 2010-11-23 20:16
    I've been thinking about a Propeller watch for a while now. You could make a watch out of the Propeller demo board, by cutting the circuit board so that only the Prop and the first two rows of holes around it are exposed, and stack the OLED display on top of it. Instead of placing the battery in the watch, you could place several small batteries along the watch band itself, so that they wouldn't take up any space in the main part of the watch. If you don't care about weight you could probably carry enough battery power to last three or four days that way.

    A Propeller pong wall clock would probably be easier though. Projects have a way of growing larger than you originally intended; I think a Propeller watch could be done, but I'm not 100% sure it would really fit.

    2 points:
    0. There is already a propeller based oled display https://www.littlepcbsolutions.com/uOLED-96-PROP.html
    ***edit*** It seems that this was discontinued a couple of years ago, but you still might be able to find one on the forum for sale if you ask.

    1. It would be better to trim a protoboard as they are much cheaper. If you want to downsize a protoboard, Oldbitcollector has a guide to it http://www.warrantyvoid.us/tiki-index.php?page=Protoboard+Nano
Sign In or Register to comment.