Skip to content

EJEP/inglenook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Inglenook puzzle generator

A python script to generate start and end arrangements for the inglenook shunting puzzle. Arrangements of wagons can be generated for 3-2-2 or 5-3-3 puzzles.

Usage

Currently the code is command-line only. The program is run as: python inglenook.py 322 or python inglenook.py 533 followed by a list of the wagons to be arranged.

For example:

$ python inglenook.py 533 HAA ZKV IEA MLA YMO clam rudd HTA
The target order is: ['ZKV', 'HAA', 'MLA', 'HTA', 'rudd']

The starting setup is:
Long siding:         ['rudd', 'HTA', 'ZKV', 'YMO', 'IEA']
First short siding:  ['clam', 'MLA']
Second short siding: ['HAA']

About

Generate starting and target arrangements for 3-2-2 and 5-3-3 Inglenook shunting puzzles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages