jroweboy / bzrflag Goto Github PK
View Code? Open in Web Editor NEWBYU CS 470 bzrflag
License: GNU General Public License v3.0
BYU CS 470 bzrflag
License: GNU General Public License v3.0
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.