Animated Knight's Tour visualizer using MXVK Python sprites. More...
Go to the source code of this file.
Classes | |
| class | knight::KnightsTourWindow |
| class | knight.Position |
| class | knight::Tour |
Namespaces | |
| namespace | knight |
Functions | |
| int | knight.lround (float value) |
| int | knight.main () |
| knight.parse_args () | |
| tuple[int, int] | knight.parse_resolution (str value) |
Variables | |
| knight.EXAMPLE_DIR = Path(__file__).resolve().parent | |
Animated Knight's Tour visualizer using MXVK Python sprites.
Implements Warnsdorff-style move selection, board rendering, and interactive tour playback through a Python VK_Window subclass. It also demonstrates sprite generation from one-pixel NumPy textures, joystick polling, screenshots, and explicit resource release.
Tour owns the search state and is independent of Vulkan. KnightsTourWindow maps that state into reusable sprites and text during proc().
Definition in file knight.py.