Solved

Maze Game in VB.net

Posted on 2009-07-14
3
936 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 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