| | |
maze game
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
•
•
plz give me some hints to make a maze game using header files of conio.h and iostream.h i m just able to draw the game plz...tel me how can i do it i m beginner in c++" i tried my best
Last edited by invisal; Dec 29th, 2007 at 4:57 pm.
Yesterday is a history, tomorrow is a mystery, today is a gift.
Behind every smile is a tear.
Visal .In
Behind every smile is a tear.
Visal .In
0 1 2 3 4 5 6 7 8 9 A B 0 : 1 0 1 0 0 0 0 0 0 0 0 0 1 : 1 0 1 1 1 1 1 1 1 1 1 1 2 : 1 0 0 0 0 0 0 0 0 0 0 0 3 : 1 1 1 0 1 1 1 1 1 0 1 0 4 : 0 0 0 0 0 0 0 0 1 1 1 0 5 : 1 1 1 1 1 1 1 0 1 1 1 1 6 : 0 0 0 0 0 0 0 0 0 0 0 0 7 : 1 1 1 1 1 1 1 1 1 1 1 1
The 2D array would be looking like this. The 0's represent the open space, and 1's represent the block. Using getch() to recieve the move that user has made. If the next move is blocked, then stay still and wait for another move.
Last edited by invisal; Dec 29th, 2007 at 5:15 pm.
Yesterday is a history, tomorrow is a mystery, today is a gift.
Behind every smile is a tear.
Visal .In
Behind every smile is a tear.
Visal .In
•
•
•
•
are u talking about RAT IN A MAZE problem...how will the user input the next move...cordinates at the console or click with the mouse..what's the objective actually..
Last edited by invisal; Dec 30th, 2007 at 2:09 pm.
Yesterday is a history, tomorrow is a mystery, today is a gift.
Behind every smile is a tear.
Visal .In
Behind every smile is a tear.
Visal .In
Hi invisal,
As rajatC pointed out the OP must mention the specifications and the rules before we can help him more. He's being too much general.
As rajatC pointed out the OP must mention the specifications and the rules before we can help him more. He's being too much general.
"You know you're a computer geek when you try to shoo a fly away from the monitor screen with your cursor. That just happened to me. It was scary." - Juuso Heimonen.
"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
•
•
Join Date: Dec 2007
Posts: 4
Reputation:
Solved Threads: 0
[code=language]i m using borland c and i hav just draw the game usng 2d arry
You're still not giving the details. Hi Ali Sher, you need to give us the rules and other specifications to help us in helping you. If you're not interested, so am I.
Last edited by Jishnu; Jan 1st, 2008 at 1:14 am.
"You know you're a computer geek when you try to shoo a fly away from the monitor screen with your cursor. That just happened to me. It was scary." - Juuso Heimonen.
"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
•
•
Join Date: Dec 2007
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
You're still not giving the details. Hi Ali Sher, you need to give us the rules and other specifications to help us in helping you. If you're not interested, so am I.
Use ASCII characters for arrow keys’ handling.
After exit the character successfully your program should display a greeting message of success.
![]() |
Similar Threads
- maze game (C++)
- Puzzle game (Game Development)
- Help....C# Project (C#)
- Maze of Pacman Game (Java)
- recall a game with mad red monks? (Geeks' Lounge)
- how to make maze game using "gotoxy" & getch? (C++)
Other Threads in the C++ Forum
- Previous Thread: adding more then 65,535 characters to richedit
- Next Thread: string to integer OR float
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node output parameter pointer problem program programming project proxy python read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





