Solved

The game called "Tron" ?

Posted on 1997-11-04
5
179 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
  • 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now