summaryrefslogtreecommitdiff
path: root/games/py-easyAI
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-09 22:26:50 +0000
committerwiz <wiz@pkgsrc.org>2014-08-09 22:26:50 +0000
commite57c794095c900501c86f5f374e74436a472e740 (patch)
treee29e74cf02ffe45d47edc03a6b7209eeef911125 /games/py-easyAI
parentce5e48a3a31c17e1c992cf8fbf0f435588b94eff (diff)
downloadpkgsrc-e57c794095c900501c86f5f374e74436a472e740.tar.gz
Import py27-easyAI-0.0.0.4 as games/py-easyAI.
EasyAI is a pure-Python artificial intelligence framework for two-players abstract games such as Tic Tac Toe, Connect 4, Reversi, etc. It makes it easy to define the mechanisms of a game, and play against the computer or solve the game. Under the hood, the AI is a Negamax algorithm with alpha-beta pruning and transposition tables.
Diffstat (limited to 'games/py-easyAI')
-rw-r--r--games/py-easyAI/DESCR6
-rw-r--r--games/py-easyAI/Makefile17
-rw-r--r--games/py-easyAI/PLIST59
-rw-r--r--games/py-easyAI/distinfo5
4 files changed, 87 insertions, 0 deletions
diff --git a/games/py-easyAI/DESCR b/games/py-easyAI/DESCR
new file mode 100644
index 00000000000..7cd8c7f5ca3
--- /dev/null
+++ b/games/py-easyAI/DESCR
@@ -0,0 +1,6 @@
+EasyAI is a pure-Python artificial intelligence framework for
+two-players abstract games such as Tic Tac Toe, Connect 4, Reversi,
+etc. It makes it easy to define the mechanisms of a game, and play
+against the computer or solve the game. Under the hood, the AI is
+a Negamax algorithm with alpha-beta pruning and transposition
+tables.
diff --git a/games/py-easyAI/Makefile b/games/py-easyAI/Makefile
new file mode 100644
index 00000000000..0dac0434a9b
--- /dev/null
+++ b/games/py-easyAI/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2014/08/09 22:26:50 wiz Exp $
+
+DISTNAME= easyAI-0.0.0.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= games
+MASTER_SITES= https://pypi.python.org/packages/source/e/easyAI/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/easyAI
+COMMENT= Easy-to-use game AI algorithms
+LICENSE= mit
+
+USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.0.0.4
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/py-easyAI/PLIST b/games/py-easyAI/PLIST
new file mode 100644
index 00000000000..e9274839e8a
--- /dev/null
+++ b/games/py-easyAI/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/09 22:26:50 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/easyAI/AI/DictTT.py
+${PYSITELIB}/easyAI/AI/DictTT.pyc
+${PYSITELIB}/easyAI/AI/DictTT.pyo
+${PYSITELIB}/easyAI/AI/Negamax.py
+${PYSITELIB}/easyAI/AI/Negamax.pyc
+${PYSITELIB}/easyAI/AI/Negamax.pyo
+${PYSITELIB}/easyAI/AI/__init__.py
+${PYSITELIB}/easyAI/AI/__init__.pyc
+${PYSITELIB}/easyAI/AI/__init__.pyo
+${PYSITELIB}/easyAI/AI/solving.py
+${PYSITELIB}/easyAI/AI/solving.pyc
+${PYSITELIB}/easyAI/AI/solving.pyo
+${PYSITELIB}/easyAI/Player.py
+${PYSITELIB}/easyAI/Player.pyc
+${PYSITELIB}/easyAI/Player.pyo
+${PYSITELIB}/easyAI/TwoPlayersGame.py
+${PYSITELIB}/easyAI/TwoPlayersGame.pyc
+${PYSITELIB}/easyAI/TwoPlayersGame.pyo
+${PYSITELIB}/easyAI/__init__.py
+${PYSITELIB}/easyAI/__init__.pyc
+${PYSITELIB}/easyAI/__init__.pyo
+${PYSITELIB}/easyAI/games/Awele.py
+${PYSITELIB}/easyAI/games/Awele.pyc
+${PYSITELIB}/easyAI/games/Awele.pyo
+${PYSITELIB}/easyAI/games/ConnectFour.py
+${PYSITELIB}/easyAI/games/ConnectFour.pyc
+${PYSITELIB}/easyAI/games/ConnectFour.pyo
+${PYSITELIB}/easyAI/games/Cram.py
+${PYSITELIB}/easyAI/games/Cram.pyc
+${PYSITELIB}/easyAI/games/Cram.pyo
+${PYSITELIB}/easyAI/games/GameOfBones.py
+${PYSITELIB}/easyAI/games/GameOfBones.pyc
+${PYSITELIB}/easyAI/games/GameOfBones.pyo
+${PYSITELIB}/easyAI/games/Hexapawn.py
+${PYSITELIB}/easyAI/games/Hexapawn.pyc
+${PYSITELIB}/easyAI/games/Hexapawn.pyo
+${PYSITELIB}/easyAI/games/Knights.py
+${PYSITELIB}/easyAI/games/Knights.pyc
+${PYSITELIB}/easyAI/games/Knights.pyo
+${PYSITELIB}/easyAI/games/Nim.py
+${PYSITELIB}/easyAI/games/Nim.pyc
+${PYSITELIB}/easyAI/games/Nim.pyo
+${PYSITELIB}/easyAI/games/Reversi.py
+${PYSITELIB}/easyAI/games/Reversi.pyc
+${PYSITELIB}/easyAI/games/Reversi.pyo
+${PYSITELIB}/easyAI/games/ThreeMusketeers.py
+${PYSITELIB}/easyAI/games/ThreeMusketeers.pyc
+${PYSITELIB}/easyAI/games/ThreeMusketeers.pyo
+${PYSITELIB}/easyAI/games/TicTacToe.py
+${PYSITELIB}/easyAI/games/TicTacToe.pyc
+${PYSITELIB}/easyAI/games/TicTacToe.pyo
+${PYSITELIB}/easyAI/games/__init__.py
+${PYSITELIB}/easyAI/games/__init__.pyc
+${PYSITELIB}/easyAI/games/__init__.pyo
diff --git a/games/py-easyAI/distinfo b/games/py-easyAI/distinfo
new file mode 100644
index 00000000000..a335bffbbb2
--- /dev/null
+++ b/games/py-easyAI/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/09 22:26:50 wiz Exp $
+
+SHA1 (easyAI-0.0.0.4.tar.gz) = ece2bf64d5e0c2220d5ebed9c3522a50a4189142
+RMD160 (easyAI-0.0.0.4.tar.gz) = b2e7717a0a884923c1c71857b307a9cb2fcd421d
+Size (easyAI-0.0.0.4.tar.gz) = 26076 bytes