numberlink.mainΒΆ

Module ContentsΒΆ

FunctionsΒΆ

main

Register the NumberLink environment with Gymnasium.

APIΒΆ

numberlink.main.main() None[source]ΒΆ

Register the NumberLink environment with Gymnasium.

This function is the package entry point invoked by python -m numberlink. It registers the environment id NumberLinkRGB-v0 so callers can create environments with gymnasium.make("NumberLinkRGB-v0").

Raises:

RuntimeError – If registration fails for an unexpected reason.