Author Topic: Pong (the classic one)  (Read 4267 times)

0 Members and 1 Guest are viewing this topic.

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Pong (the classic one)
« on: December 02, 2011, 02:35:51 pm »
Hey,

I wrote this Pong game so I can play it during boring classes with my buddies, nothing too fancy. You can either play against a friend or against an opponent that adjusts its skill according to yours.

Controls:
  • 1/0: move left paddle up/down
  • 3/(-): move right paddle up/down
  • 8: toggle game mode (i.e., one or two players)
  • i: invert colors
  • r: reset the game





Note: if you have the TouchPad and can't see the ball very well, play around with the brightness settings.
« Last Edit: January 29, 2013, 10:59:42 am by hoffa »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Pong (the classic one)
« Reply #1 on: December 02, 2011, 02:50:53 pm »
Looks nice :)

You should add an option to control the paddle with your mouse (using the 'y' parameter of on.mouseMove).
I think it would work good :)

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Pong (the classic one)
« Reply #2 on: December 02, 2011, 03:52:23 pm »
Nice. The bot sounds interesting.


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Pong (the classic one)
« Reply #3 on: December 02, 2011, 04:50:54 pm »
Nice ! :D

You should submit it here in the archive, and at TI-Planet's :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Pong (the classic one)
« Reply #4 on: December 07, 2011, 05:24:32 pm »
For the Omnimaga download section, all that is posted right now is the png. Not to say that's not worth downloading  ;)