This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "BZRobots"
(→About BZRobots) |
|||
Line 1: | Line 1: | ||
=About BZRobots= | =About BZRobots= | ||
− | BZRobots is a programmable computer player client that is compatible with the bzfs servers. It is designed to be an artificial intelligence training and development tool that operates under the BZFlag platform | + | BZRobots is a programmable computer player client that is compatible with the bzfs servers. It is designed to be an artificial intelligence training and development tool that operates under the BZFlag platform. |
+ | |||
+ | '''(Note that the following applies to the BZRobots in the upcoming BZFlag 3.0 release)''' | ||
=How to build= | =How to build= | ||
− | + | ===Linux/OS X=== | |
The BZRobots client will by default as a standard part of the bzflag trunk build. You will need to add an extra option to the ./configure in order to use Python | The BZRobots client will by default as a standard part of the bzflag trunk build. You will need to add an extra option to the ./configure in order to use Python | ||
− | + | ===Windows=== | |
− | Open the bzrobots solution, | + | Open the bzrobots solution, then build the bzrobots and testbot projects. |
=Example of use= | =Example of use= | ||
Line 20: | Line 22: | ||
===Windows: Shared Library [.dll]=== | ===Windows: Shared Library [.dll]=== | ||
− | |||
# cd bzflag | # cd bzflag | ||
# ./bzrobots -team red robot@localhost testbot.dll | # ./bzrobots -team red robot@localhost testbot.dll |
Revision as of 04:53, 30 June 2009
Contents
About BZRobots
BZRobots is a programmable computer player client that is compatible with the bzfs servers. It is designed to be an artificial intelligence training and development tool that operates under the BZFlag platform.
(Note that the following applies to the BZRobots in the upcoming BZFlag 3.0 release)
How to build
Linux/OS X
The BZRobots client will by default as a standard part of the bzflag trunk build. You will need to add an extra option to the ./configure in order to use Python
Windows
Open the bzrobots solution, then build the bzrobots and testbot projects.
Example of use
(Note: Due to the use of libtool, the TestRobot.so is in the .libs directory)
# cd bzflag/src/bzrobots # ./bzrobots -team red robot@localhost .libs/TestRobot.so
Linux/OS X: Python [.py]
# cd bzflag/src/bzrobots # ./bzrobots -team red robot@localhost ../../bots/python/StalkBot.py
# cd bzflag # ./bzrobots -team red robot@localhost testbot.dll
See Also
BZRobots/Protocol - Description of the new protocol
BZRobots/RoboCode_Changes - List of relevant changes from the RoboCode API (due to various parts of bzflags)
BZRobots/Ideas - Feature suggestions / thoughts
BZRobots/History - The old "About" page for BZRobots