Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

The game called "Tron" ?

Posted on 1997-11-04
5
Medium Priority
?
185 Views
Last Modified: 2010-04-16
Please send me instructions about how to make that game.
Is about 2 cars or motorcycles, that you can manipulate wiht the keyboard; each car has a color and if the car run it's color is make a rut; both cars go to a distinct velocity and the winner car is that wich close the other like a wall to stop it's vogaye.
The program is based in arrays, and the game run in a aleatory form.

I hope your answer.
If it's possible send it before the next november 7th,1997.
Anyway i will wait.
thanks !.

0
Comment
Question by:rol
[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
  • 2
  • 2
5 Comments
 

Expert Comment

by:fant0m
ID: 1216454
Heh, sounds like a homework assignment :).  I don't do that.  Any pascal programer should be able to program something like that given all the details listed.  Why does it have to be due before the specified date anyways?
0
 

Author Comment

by:rol
ID: 1216455
No it isn´t...fant0m !!

Not matter the date, the fact is that I have been tryng to
make the program for 3 days ...and I have advanced it  in some, but...I send  to the experts my questions becauese I thaught that you can help me with that. And I need that help !.
Because I need help with the arrays, I don´t understand them well, and I know that it a little difficult.

If I know how use them, you're right, I wouldn´t send you a question...

Please, if you can help me, I'll be very grateful !!.
In fact, in how I can manipulate the velocity of both cars..,
and how make that while each car run (for example: 1 red and 1 green), how make that each car display it's color in it's way.

Rol.




 






0
 
LVL 2

Accepted Solution

by:
kellyjj earned 300 total points
ID: 1216456
what you need to is first put your code into some kind of vector.  ( time slicing).  this way the program will be more "real time".  Second you will need to chain the movement of the cars to the tick timer interrupt.  As far as using arrays for this, I would not,  if all you are using is 2 cars then 2  records would be more than able to handle the the type of work you are describing.

They way you can control the speed is the decrease / increase the number of spaces they will move.

For 100 points for this kind of ? you proboly will not get any source code
0
 

Author Comment

by:rol
ID: 1216457

Thankyou kellyjj.!
I didn´t imagine  that the answer would be so quickly !!
but, I would like to tell you something:

I don't understand well, the last part of your asnwer.. about
the increase and decrease the number of spaces of movement of
the cars ?.

I would be very grateful, if you explain it a little more !!

Thanks.
Rol


0
 
LVL 2

Expert Comment

by:kellyjj
ID: 1216458
What I meant, is if you tie the cars to the tick timer then you can increase the wait or you can decrease the wait.  is this any clearer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

610 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