Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programming a Game?

Status
Not open for further replies.

gt123

Technical User
Dec 28, 2005
4
GB
Hi there,

I'm new to Java programming and have only previously made a logic gate simulation program using the command prompt for input/output.

As part of my university degree I have been asked to create a game that uses a moving object(s). I have never used any of the graphics libraries and so could someone suggest something that would be relatively easy to program? and if possible, suggest how I would go about doing so?

Thank you very much,

GT
 
The simplest of games, I think will be a ping-pong game; you only need to draw a ball using fillOval method of java.awt.Graphics and 2 bats drawn as rectangles and a score board using JLabels and JTextfields to display the score
 
you can program snake game . it is easy .
if you want i can help you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top