Gorod Krovi valve step solver.
Project description
Gorod Krovi Valve Solver
During the Easter Egg of the Call of Duty: Black Ops 3 Zombies map Gorod Krovi, we need to solve one step that requires connecting all the valves so that the air can flow from the green-lit valve to the valve containing the cylinder.
Each valve is connected to three other valves as shown in the following image.
We can view the valves as an Undirected Graph and the solution is to find a Hamiltonian Path (i.e: the path that visits each vertex exactly once) starting from the green-lit valve and finishing at the valve that contains the cylinder.
Usage
Clone the repository and run the module. You must specify the location of the green valve and the location of the valve containing the cylinder. These are the available locations:
0. Armory
1. Dept. Store
2. Dragon Command
3. Supply Depot
4. Infirmary
5. Tank Factory
The script will find a valid path that connects all valves and will tell you the position of each valve.
# cd into the cloned repository directory
cd gk-valves
python -m gkvalves 0 1 # find path for Armory (green) -> Dept. Store (cylinder)
Armory: 1
Supply Depot: 3
Tank Factory: 1
Infirmary: 3
Dragon Command: 2
TODO: I will try to add an integration to a package manager for an easier installation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gkvalves-1.0.0.tar.gz.
File metadata
- Download URL: gkvalves-1.0.0.tar.gz
- Upload date:
- Size: 42.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d10f8b3b67a4e9f9b141dc15627df0f96c2fc1b7f0189fb89c0575806bd23dc0
|
|
| MD5 |
9ee8921c879f6ef9a0569a67b13bedc3
|
|
| BLAKE2b-256 |
f4c89db6acf77e1fb59a69eee36347dd418a6b75d5997e368413e065fd98a0bd
|
File details
Details for the file gkvalves-1.0.0-py3-none-any.whl.
File metadata
- Download URL: gkvalves-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
667b9fa103838866f442fa81fef085e9a10bd59fd6f5f803bf3dcf88daa88029
|
|
| MD5 |
ab162518b77cd0426e061937787b8410
|
|
| BLAKE2b-256 |
2d69f5ad71e43c5e83efd659b814481533f728b14717665b23e22ac076837255
|