Giter Club home page Giter Club logo

bzrflag's Introduction

BZRFlag: BZFlag with Robotic Tanks!
=======

Developed by the BYU AML Lab to support the objectives of Brigham Young
University CS 470 "Introduction to Artificial intelligence." 

Copyright 2008-2011 Brigham Young University, and distributed under the GNU GPL.

Comments and suggentions are welcome at: [email protected]


Installation:
You may need to install the pyparsing and pygame pkgs before running the barflag
server. If you're a CS470 student you will also need to use telnet for one of
the assignments, but that shouldn't be difficlt to install if you don't already
have it.

Zip and tar source distributions are maintained at:

    http://code.google.com/p/bzrflag/

but can also be obtained by simply cloning the git reposatory. Use:

    [you@yourmachine ~]$ git clone git://aml.cs.byu.edu/bzrflag.git

For windows, use the windows equivalent, or the provided git gui.

After downloading and unziping the distribution of your choice, run:

    [you@yourmachine bzrflag]$ python setup.py install (if on linux, or)

    ???(on windows)

...(not finished... Add windows instructions and how to run tests)



Running the game:
The server can be run with the command: (assuming you are in the bzrflag dir)

    [you@yourmachine bzrflag]$ ./bin/bzrflag

To get a list of the command line options you can use, run:

    [you@yourmachine bzrflag]$ ./bin/bzrflag -h

Note that if you are on a laptop with low resolution, or in any event the window
size is too big, the option to change the size of the window is:

    --window-size=[size]x[size]

The included simple agent can now be run (from a new window) using:

    [you@yourmachine bzrflag]$ python bzagents/agent0.py localhost [port]

If you want to control the tanks manually, start up the server, then open
another terminal and run: (use one of the ports printed out by bzrflag)

    [you@yourmachine bzrflag]$ telnet localhost [port] 

The robotic tanks should introduce themselves by saying:

    bzrobots 1

Reply with:

    agent 1

You should now be connected, and may begin typing commands. For example, type
'shoot 0' to send the command to tank 0 to shoot. You can use the 'help' command
to get a list of all the commands available, or 'help [command]' to get help for
a specific command.

The game, of course, can also be run with the included simple agent using the 
example shell script provided (example batch files are also included).
   



bzrflag's People

Contributors

amcnabb avatar danhogue avatar jaredly avatar jroweboy avatar robhobbes avatar yhack avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.