This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

BZRobots: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Daxxar (talk | contribs)
Redirecting to BZRobots/About
 
Bulldozer (talk | contribs)
No edit summary
Line 1: Line 1:
#REDIRECT [[BZRobots/About]]
=About BZRobots=
BZRobots is a programmable computer player client that is compatible with the bzfs servers.
 
=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, and build the bzrobots project, and the testbot project
 
=Example of use=
===Linux/OS X: Shared Library [.so]===
(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
 
===Windows: Shared Library [.dll]===
(Note: While bzrobots and the bot dll will build and execute on Windows, it is not currently functional. The following should only be considered useful for development and debugging purposes)
# 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

Revision as of 05:27, 27 June 2009

About BZRobots

BZRobots is a programmable computer player client that is compatible with the bzfs servers.

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, and build the bzrobots project, and the testbot project

Example of use

Linux/OS X: Shared Library [.so]

(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

Windows: Shared Library [.dll]

(Note: While bzrobots and the bot dll will build and execute on Windows, it is not currently functional. The following should only be considered useful for development and debugging purposes)

# 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