Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
oslash

Pong - because why not

Recommended Posts

this is my first program i made out of boredom

its a working 2-player pong game (it has no AI yet)

 

when you load the game press any key once and your name will show up as player 1, then get your friend to do so as well so he will be player 2, then press enter to start (you can play with yourself but this was left for testing purposes)

first one to score 10 times wins

press space at any point of the game to exit

 

i designed this to work with tier 1 computers with openOS, didnt test it on other tiers

 

http://pastebin.com/gGHCE9MK

 

i would appreciate some tips on how to optimize the code since i have really limited knowledge about this

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.