Skip to content

Releases: gabriel-fortin-leblanc/ggames

A beginning (Hotfix)

02 Aug 15:34
2bcad43
Compare
Choose a tag to compare

GGames

#4 The description message in Pypi is now shown properly.

A beginning

01 Aug 01:23
Compare
Choose a tag to compare

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.