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.
Installation
This package can be installed with pip.
pip install --upgrade gkvalves
Usage
Use the list subcommand to list all the available locations.
(0) Armory
(1) Department Store
(2) Dragon Command
(3) Supply Depot
(4) Infirmary
(5) Tank Factory
Use the solve subcommand to find a configuration that communicates all the valves. You must supply the location
id (number between 0-5) of the green-lit valve and the valve that contains the cylinder.
# Find configuration for Armory (green) -> Department Store (cylinder)
$ gkvalves solve 0 1
Armory: 1
Department Store: This is the ending valve.
Dragon Command: 2
Supply Depot: 3
Infirmary: 3
Tank Factory: 1
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.1.tar.gz.
File metadata
- Download URL: gkvalves-1.0.1.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 |
142cb1efe5828277f4da0c14082a107c773e82f1dd5735fb658c31580816b1a6
|
|
| MD5 |
aafa69af2129d5097d60297d89ad6ca2
|
|
| BLAKE2b-256 |
31a9c51758949a3bc5479a66e542c01294f5c079aca91bd9a3cb9ddbdbf89b45
|
File details
Details for the file gkvalves-1.0.1-py3-none-any.whl.
File metadata
- Download URL: gkvalves-1.0.1-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 |
23a27e513de113995c2aab0ac6d08ea10ca7bb430e5f792b462767dad3139bd8
|
|
| MD5 |
dbb86d65857944c736be7c11f9d0b838
|
|
| BLAKE2b-256 |
0c404b9da869db3a8edc3885b57b860598ccb00eaae85d62ce9d4199d657c5e6
|