Author Topic: Two player pong  (Read 10450 times)

0 Members and 1 Guest are viewing this topic.

Offline qazwsx988

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +7/-0
    • View Profile
Two player pong
« on: December 13, 2010, 11:57:35 am »
I found it surprising that we didn't have an Atari pong clone for axe!
So I was bored one weekend and decided to start up programming again as a hobby.
So here's a nice 2 Player pong, 2nd/alpha for left player to move up/down, d-pad for right player to move.
apong is the compiled game, all other programs in the group is the source

I'm updating graphics and adding shooting in later.
« Last Edit: December 13, 2010, 11:58:20 am by qazwsx988 »

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Two player pong
« Reply #1 on: December 13, 2010, 11:59:39 am »
very nice! and also nice to see you around!

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Two player pong
« Reply #2 on: December 13, 2010, 12:05:03 pm »
yes, nice. what do you mean by shooting? (never saw a pong game with shooting)
what also would be cool is link cable playing, but that could be added if the game is finished
also, i lost :hyper:
I'm not a nerd but I pretend:

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Two player pong
« Reply #3 on: December 13, 2010, 12:51:08 pm »
are you going to set it up so it can be 2 player pong on two calcs?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Two player pong
« Reply #4 on: December 13, 2010, 01:12:05 pm »
Nice job.  :)  It probably is more fun with a friend (I'm playing against myself :P).
« Last Edit: December 13, 2010, 01:12:15 pm by ztrumpet »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Two player pong
« Reply #5 on: December 13, 2010, 07:41:30 pm »
Looks good. Good luck on the updates :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline qazwsx988

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +7/-0
    • View Profile
Re: Two player pong
« Reply #6 on: December 14, 2010, 10:40:09 am »
Update!
Now graphics are truer to the Atari Pong.
I'll work more after tests are over.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Two player pong
« Reply #7 on: December 14, 2010, 10:45:27 am »
wow nice!
I'm not a nerd but I pretend:

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Two player pong
« Reply #8 on: December 14, 2010, 02:11:41 pm »
Nice!  I really need to do some experimenting with the linking capabilities, since i have two calcs O.O This looks awesome! :D

Offline qazwsx988

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +7/-0
    • View Profile
Re: Two player pong
« Reply #9 on: December 14, 2010, 02:39:02 pm »
I don't think I'll make it two player on two calcs, simply because I don't know how to do that.
Anyways, I like it on the same calc.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Two player pong
« Reply #10 on: December 14, 2010, 02:41:45 pm »
This looks nice, it's pretty close to the original. :)

Maybe someone could make a linked version, although I think this is usually slower.

Welcome on the forums, by the way. :)
« Last Edit: December 14, 2010, 02:42:06 pm by DJ Omnimaga »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Two player pong
« Reply #11 on: December 14, 2010, 04:41:59 pm »
This looks nice, it's pretty close to the original. :)

Maybe someone could make a linked version, although I think this is usually slower.

Welcome on the forums, by the way. :)

naa, there would be very little data transfer.  I think you should be able to do it at about full speed if You do a P1, P2 Method.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Two player pong
« Reply #12 on: December 14, 2010, 04:46:14 pm »
Not if you're using a 6 foot cable. Even those 2-4 bytes would be difficult to consistently transfer in real time.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Two player pong
« Reply #13 on: December 14, 2010, 04:49:36 pm »
true.  you could but it would be so slow to do so many checks :P

3 foot cable though should have very little trouble.
Thought: Make a code that will check accurateness of cable :P
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Two player pong
« Reply #14 on: December 14, 2010, 04:52:11 pm »
How many bad reviews on TI-Calc do you think it would bring for the program to say "Bad connection. Please check your cables" when people had their cables plugged in?  :P
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ