Java: How do I make a maze generator?
-
How do I make a maze generator in Java? I want to learn the basics first, like for example in this video http://www.youtube.com/watch?v=ZkHvCcwqoJw How do I make the grid and how do I create the path (will turn into different color when the path is created) when the program generates the maze? I dont know where to start
-
Answer:
First, you must learn the Java language if you haven't already: http://docs.oracle.com/javase/tutorial/java/TOC.html To create a graphical user interface for your program, you must know how to use Swing: http://docs.oracle.com/javase/tutorial/ui/index.html To draw your colored maze, you will need to know about the 2D graphics API: http://docs.oracle.com/javase/tutorial/2d/index.html And, in order to make use of that, you must implement custom painting logic: http://docs.oracle.com/javase/tutorial/uiswing/painting/
Marvin at Yahoo! Answers Visit the source
Related Q & A:
- How do I make a window in Java?Best solution by Stack Overflow
- How can I make a Spinner only by java?Best solution by stackoverflow.com
- How do I make a python web program that is on a ubuntu server allow access to the server?Best solution by Yahoo! Answers
- How do i make a my yahoo but not a home page?Best solution by Yahoo! Answers
- How do i make a signature for when i send an email?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.