BSD Ports

games/p5-Games-AlphaBeta 0.4.7_2 DragonFly

Game-tree search with object oriented interface

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
games, perl5
Package size
27.0 KiB, 52.4 KiB installed

Description

Games::AlphaBeta provides a generic implementation of the AlphaBeta game-tree search algorithm (also known as MiniMax search with alpha beta pruning). This algorithm can be used to find the best move at a particular position in any two-player, zero-sum game with perfect information. Examples of such games include Chess, Othello, Connect4, Go, Tic-Tac-Toe and many, many other boardgames.

Users must pass an object representing the initial state of the game as the first argument to new(). This object must provide the following methods: copy(), apply(), endpos(), evaluate() and findmoves(). This is explained more carefully in Games::AlphaBeta::Position which is a base class you can use to implement your position object.

In the other systems

The newest version among them is 0.4.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlygames/p5-Games-AlphaBeta0.4.7_2 newestnone known-[email protected]-
FreeBSDgames/p5-Games-AlphaBeta0.4.7_2 newestnone known-[email protected]-
HardenedBSDgames/p5-Games-AlphaBeta0.4.7_2 newestno data-[email protected]-
GhostBSDgames/p5-Games-AlphaBeta0.4.7_2 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Games-AlphaBeta

From DPorts:

cd /usr/dports/games/p5-Games-AlphaBeta && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.