Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> Java Games tutorial #4

Java Games tutorial #4

Last time, we promised that we'd write the "Game Setup" state in tutorial #4. We had no idea what we were getting into! We've managed to cram it all in here, but it's a pretty tall order. In the course of this tutorial, your going to learn several new things:

 

  • How to "nest" loops

  • How to use a new kind of loop

  • How to use random numbers

  • How to use 2 dimensional arrays

 

You'll also get your fill of drawing lines on the screen, printing out instructions, and generally creating a simple GUI (graphical user interface).

 

If you like, you can download this tutorial in stand-alone format here. Otherwise, let's get right into it. 


  User Comments
Vlad

From Atlanta, GA
(Report as abusive)
Excellent Job!
Hey guys,

Just wanted to thank the author(s) of this tutorial series. Tremendous help. Keep it up!
Amril

From Exeter
(Report as abusive)
the best tutorial ever

if you're someone who's wanting to create a game applet in java then this is the best place to start. Trust me, you won't regret it. Looking forward to tutorial 5.
{StooStooartson}

(Report as abusive)
A+; 100%; 2 Thumbs up; Best. Tutorial. Ever.
Awesome! This tutorial left me speechless with awesomeness. It is truely the best. Words cannot describe how helpful this was to me, a moderate C++ programmer, jumping straght into JAVA GUI. NOTE: People ARE reading these!!! KEEP IT UP!
Eric

From Canada
(Report as abusive)
Really Awsome
Thanks, these tutorials are awsome! I am used to C++ and Visual Basic and you helped me get into java once again. Thanks!
murph722

From New York
(Report as abusive)
First-Rate Tutorial!
I've taken Java courses and read Java books in the past, but had fallen out of practice over the past year. This tutorial was a great help for brushing up, but I would have truly enjoyed this if I had seen it back when I was first learning.
  View all   Rate and comment this article
Advertisement

  Free Magazine  
Free Magazines
Computerworld The most comprehensive source of news and analysis on the technologies and management issues of information technology. ...
subscribe now


 

Sponsored Links 
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
Localize software in three simple steps
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Delphi Localization Tool Sisulizer (WYSIWYG)
Create multilingual Delphi apps in three simple steps. Localize XML, HTML Help ... Try Sisulizer now
Buy a link now

Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by .NET konsult - Synchron Data.