Solved

The game called "Tron" ?

Posted on 1997-11-04
5
178 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 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

22 Experts available now in Live!

Get 1:1 Help Now