Games::RailRoad - a train simulation game
Games::RailRoad allows you to draw a railroad, create some trains and make them move on it. What you did when you were kid, but on your computer now.
Games::RailRoad
Create a new game, and return the associated POE session ID. No option supported as of now.
The POE session accepts the following events:
Currently the module is very rough and supports very few operations:
drawing and connecting rails by left-clicking and dragging mouse on the canvas.
removing a node by right-clicking on it on the canvas.
placing a train on a rail by middle-clikcing on a rail on the canvas.
changing switch exits by double-clicking on it.
The amount of work needed is much more vast and includes (but not limited to):
support for more than one train
adding coaches to trains
saving / loading to a file
rc-file for the application
better interface (what about one-button mice?)
available help
etc...
Please report any bugs or feature requests to < games-railroad at rt.cpan.org>, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-RailRoad. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
< games-railroad at rt.cpan.org>
POE, Tk.
You can also look for information on this module at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Games-RailRoad
CPAN Ratings
http://cpanratings.perl.org/d/Games-RailRoad
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-RailRoad
Jerome Quelin, <jquelin at cpan.org>
<jquelin at cpan.org>
Copyright (c) 2008 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::RailRoad, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::RailRoad
CPAN shell
perl -MCPAN -e shell install Games::RailRoad
For more information on module installation, please visit the detailed CPAN module installation guide.