?
Solved

The game called "Tron" ?

Posted on 1997-11-04
5
Medium Priority
?
183 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

New style of hardware planning for Microsoft Exchange server.
What's worse than having your data encrypted by ransomware? Getting attacked by a so-called "wiper," which simply destroys the data and offers you no hope of ever seeing it again.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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