Friday, November 13, 2015

logic - How to decide who wins a race?


I'im thinking of building a text-based browser game. A racing game.like F1 or rally. users can set-up a car. thinks like tyres, fuel, driver,brakes. every attribute gets a value.


the part where i am stuck is the race.


i think a race exist out of corners, straight parts, hills,...


i have no idea how i can come to a solution who wins the race and what the lap times would be.


idea i have: a race has for all attributes of a car the best value. the car with the best values of that race, normally wins.


anyone with some idea's?




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...