Jump to content
  • Advertisement
Sign in to follow this  
ToohrVyk

Javascript Pong Tutorial

This topic is 3665 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have completed a Pong game in javascript. You may find it here: http://nicollet.net/files/articles/tutorial/pong.html. The game source code is in the public domain, and you may find it here: http://nicollet.net/files/articles/tutorial/pong.js It requires the jQuery library to run (for graphics). I think javascript is a nice contender for "first programming language" because of its streamlined nature, as long as you use a wrapper library (such as jQuery) to abstract away the differences between platforms), as well as the fact that firefox+firebug are an easily downloaded debug and test environment. A tutorial article, explaining how it works, is now available on my web site: http://nicollet.net/blog/php/75-tutorial. [Edited by - ToohrVyk on December 3, 2008 3:03:08 AM]

Share this post


Link to post
Share on other sites
Advertisement
Thank you for posting this. I see that you have implemented the game using the MVC architecture. This is something I'd like to learn more about, so I hope you will discuss it in your article.

Thanks again and looking forward to reading your article. [smile]

Share this post


Link to post
Share on other sites
Wow! This is cool. What you can do now in javascript is so awesome. I was actually thinking of putting javascript games on my site. Good job! You don't even notice any performance issues. Have you heard of the Mario game written in javascript and stored in a single 14KB file? Google it.

Share this post


Link to post
Share on other sites
Hi,

Nice tutorial. I just went through it. Here are my impressions:

I am new to javascript/web development. Your explanation of the javascript syntax and programming strategy are very kind to the reader. I was looking for an easy opening to get into doing some simple web games and yr tutorial definitely fits the bill. Also, I appreciated the fact that you helped with recommending the tools to use so that I could get the code up and running.

I look forward to improving and building upon this! Thank you for writing this tutorial.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!