BSD Ports

games/p5-Games-AlphaBeta 0.4.7_2 FreeBSD

Game-tree search with object oriented interface

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
games, perl5
Package size
22.9 KiB, 47.1 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
FreeBSDgames/p5-Games-AlphaBeta0.4.7_2 newestnone known-[email protected]-
DragonFlygames/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 the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Games-AlphaBeta>0:games/p5-Games-AlphaBeta

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.7_20.4.7_20.4.7_20.4.7_20.4.7_2
FreeBSD:14:quarterly0.4.7_20.4.7_2n/a0.4.7_20.4.7_2
FreeBSD:15:latest0.4.7_20.4.7_2n/a0.4.7_20.4.7_2
FreeBSD:15:quarterly0.4.7_20.4.7_2n/an/an/a
FreeBSD:16:latest0.4.7_20.4.7_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 12
  • bin/othello-demo
  • %%PERL5_MAN3%%/Games::AlphaBeta.3.gz
  • %%PERL5_MAN3%%/Games::AlphaBeta::Position.3.gz
  • %%PERL5_MAN3%%/Games::AlphaBeta::Reversi.3.gz
  • %%PERL5_MAN3%%/Games::Sequential.3.gz
  • %%PERL5_MAN3%%/Games::Sequential::Position.3.gz
  • %%SITE_PERL%%/Games/AlphaBeta.pm
  • %%SITE_PERL%%/Games/AlphaBeta/Position.pm
  • %%SITE_PERL%%/Games/AlphaBeta/Reversi.pm
  • %%SITE_PERL%%/Games/Sequential.pm
  • %%SITE_PERL%%/Games/Sequential/Position.pm
  • %%PERL5_MAN1%%/othello-demo.1.gz
distinfo 1
FileSizeSHA256
Games-AlphaBeta-v0.4.7.tar.gz14000e03a37a5ca4933437a3c5a5954e74f7ae1bc12d0d85b09956214d9337c1e4d90
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.