Hey, I need a program that will be a representation for a transport company.
In final it has to look something like this:
https://www.youtube.com/watch?v=6g4yKwpjmRE or
http://www.youtube.com/watch?v=WyVkG4YtZmA&feature=youtu.beFor now, I just need a text-version.Details:
Let's say there must be 10 stores, they are buying stuff from one another. Transport company recieves an order and sends a truck to store that we need stuff from, and then it goes to the one in need.
There has to be a distance between stores.Truck has got a tank (random number from a range), when it rides from one store to another it may run out of a gas. That is way there have to be some gas stations, where trucks can tank gas. But not so many, truck can run out of a gas (then he just stopps on his way).
That is why we need a distance between stores.Every truck has to be a new thread, that can finish his job (transports stuff) or gets stopped/killed (runs out of a gas).
For now I just need a text-version of this, like:
XXX requests a supply from YYY
Transport company sends truck no1
Truck no1 gets stuff from YYY
Truck no1 tanks a gas
Truck no1 delivers stuff to XXX
or Truck no1 runs out of a gas.
And so on, but with multiply trucks running in the same time.
I would like it to be done untill the sundays evening (maybe mondays morning), paying fg (tell me how much do you want for it and how much time do you need). Some comments about the code (like: how exactly a method works) would be helpful as hell.
So, tell me if you can do it! Thanks!