Games::AlakGames::Alak is a simple game-tree implementation of a gomoku-like game. | |
Download |
Games::Alak Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Sean M. Burke
- Publisher web site:
- http://search.cpan.org/~sburke/
Games::Alak Tags
Games::Alak Description
Games::Alak is a simple game-tree implementation of a gomoku-like game. Games::Alak is a simple game-tree implementation of a gomoku-like game.SYNOPSIS % perl -MGames::Alak -e Games::Alak::play ...Or just run Alak.pm as if it were a program... ...Program responds with output, and a prompt: Lookahead set to 3. I am X, you are O. Enter h for help X moves from 1 to 5, yielding .xxxx..oooo alak> ...and now you enter the commands to play.This module implements a simple game-tree system for the computer to play against the user in a game of Alak. You can just play the game for fun; or you can use this module as a starting point for understanding game trees (and implementing smarter strategy -- the module's current logic is fairly simple-minded), particularly after reading my Perl Journal #18 article on trees, which discusses this module's implementation of game trees as an example of general tree-shaped data structures. Requirements: · Perl
Games::Alak Related Software