Loc-O-Mania by Michael El-Baki is a puzzle game where you are presented with different rail systems. Trains appear randomly in stations and must be guided to another station. It’s up to you to play with junctions in order to safely drive trains to their goal.

http://gbadev.org/demos.php?showinfo=1397