?
Solved

Maze Game in VB.net

Posted on 2009-07-14
3
Medium Priority
?
941 Views
Last Modified: 2013-11-26
Hello all of you :D

I wanted to know if anyone could help me on creating the Maze Game, I heard of it, and since I'm a beginner in VB.NET environment I would like someone to help me.

The game will be 24 by 12, buttons, it will have the four walls which will be blocked and inside them you can change the walls by drawing them on clicking the buttons.

It asks for 2d array for push button, which I did them.

The game will check if the button is press (disabled, open path) and go for it, if it find a dead end, it will return to the point where it has to chose between many paths.

I would be very glad if someone would give it a try to help me on this project..

0
Comment
Question by:arberb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 24858526
It's not easy to know what you really want, but you can see this example in VB6 and get some ideas http://www.freevbcode.com/ShowCode.asp?ID=1895
Also some useful links:
http://www.astrolog.org/labyrnth/algrithm.htm
http://en.wikipedia.org/wiki/Maze_generation_algorithm
 
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24859335
If you needed C#, that Wiki article had a link to a C# application WPF application:

http://chiesaclan.spaces.live.com/blog/cns!842434EBE9688900!632.entry

You might be able to use code converters from C# to VB.NET, if you were so inclined.
0
 

Accepted Solution

by:
arberb earned 0 total points
ID: 24860469
Thank you guys, for trying... I checked your links...  and here is a brief description of my maze project...

1. I have a button array, which creates like 230 buttons...
2. I have to check if the button is Disabled or Enabled. (Because where  buttons are disabled that is the free path, if it's enable that you can't pass it, it stands like a wall. For example in the beginning it's creates a path by it self, if you want to change or make more complicated you just click the buttons.
3. I know that there is a way to do it with while loop, but could someone help me how to create that while loop that checks for cross like button(i+1,j), button(i-1,j), button(i, j+1), button(i,j-1) where button(i,j) is the current standing of the maze.

I hope I was understandable...

I really appreciate it guys if you could help me.. probably I would give like 5000 points if it was possible to give...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question