Distributed system on One Lane Bridge project idea is to provide solution for vehicles coming from different direction to cross one lane bridge.
Develop a server process to manage use of the bridge. Assume the cars are client processes that can remotely get connect to the server at any time.
In your simulation program, have new cars join in the session remotely and each car repeatedly try to cross the bridge. They should spend a random amount of time on the bridge and should delay for a random amount of time before crossing again. Each car client can specify some parameters such as its speed, average delaying time after crossing, initial heading direction etc. Ideally, each client should get a graphical interface showing the current status on the bridge utilization.