Skip to content

Program to calculate possible positions of Mr. X in the game Scotland Yard

Notifications You must be signed in to change notification settings

binweg/ScotlandYard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scotland Yard Helper in Python

This program is (or will be) a Scotland Yard helper that calculates the possible positions of Mr. X given a starting position and a list of tickets.

networkx is required.

Usage:

At the command promt enter

cd path/to/scotlandyard
python(3) scotlandyard.py startnode ticketlist

with startnode being a number between 1 and 199 and ticketlist being a combination of taxi, bus, subway or black. For example:

python scotlandyard.py 27 taxi taxi bus subway

yields the result 46, 67, 79, 89, 111.

About

Program to calculate possible positions of Mr. X in the game Scotland Yard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages