LEGO Mindstorms NXT - Multiplayer Pong

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,605
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 22, 2009

a multiplayer Pong game for two LEGO Mindstorms NXTs connected via BlueTooth, programmed in RobotC

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (felfrei)

  • Why does it pause and say "sending" when the ball transfers? It seems like you have real time communications because score and ending happen instantaneously. Yet sending the ball has some delay.

  • @kincaid05 To send Bluetooth messages, I use a special "protocol" to confirm each packet. Sending the ball takes 3 data packages (1 for the position and 2 for two-dimensional speed), and all packages need to be confirmed for the next transmission to start. So, the NXTs need to send 7 packages for the ball to appear on the other NXT.

    Score updates only need 1 data package, so there is no need to wait for a confirmation, which is the same for the "end"-package.

  • @Coolie747: What do you mean?

  • What is the script for nxt c++ ?

  • @zexbomb69 Are you talking about the RobotC-Sourcecode? I did not publish it.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • plz

  • Cool! Check out my pong,

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more