Skip to content

A beginning

Compare
Choose a tag to compare
@gabriel-fortin-leblanc gabriel-fortin-leblanc released this 01 Aug 01:23
· 5 commits to main since this release

GGames: A Beginning

This is the first release of this project. It contains functions for two types of games:

  • Cops and Robbers game; and,
  • Reachability game.

Cops and Robbers game

This module considers the cops and robbers game on static or edge-periodic graph. It provides different functions, including one that computes if a given graph is k-cop win or not.

Console script: kcop-win

By installing this package, the user can call a console script that decides if a given graph is k-cop win.

Reachability game

This module provides two main functions. The first one computes the attractor set and the other return a list of the next winning moves of a player in a game with respect to the current state of the game.