GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Bytekeeper/rsbwapi: A BWAPI client library that can be used to program AIs for Brood War in Rust.

BranchesTags
Open more actions menu

Latest commit

 

History

213 Commits
213 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bwapi_wrapper
bwapi_wrapper
 
 
example_bot
example_bot
 
 
resources/test
resources/test
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
Hack-Regular.ttf
Hack-Regular.ttf
 
 
README.md
README.md
 
 
cog.toml
cog.toml
 
 

Repository files navigation

Documentation

rsbwapi

rsbwapi is a Rust library for building artificial intelligence (AI) for the popular real-time strategy game Starcraft Broodwar. The library allows you to create and control Starcraft Broodwar bots through the Broodwar API (BWAPI).

If you're not familiar with BWAPI, it is a community-developed project that provides a C++ interface to interact with Starcraft Broodwar. You can find more information about BWAPI here.

To get started with rsbwapi, check out the documentation on docs.rs. Also check out the simple ExampleBot. Or take a look at my bot Styx2.

You may want to join the SSCAIT Discord, which is a community of Starcraft AI enthusiasts who run regular bot tournaments. You can also check out the Basil Ladder which is based on SSCAIT but runs a lot more games.

For more information on Starcraft AI development, you can visit the SSCAIT website. There should be enough information to get you started.

If you have any questions or feedback, feel free to create an issue on the rsbwapi GitHub repository.

Usage

Windows

You should be fine to just compile your bot. The resulting x64 executable should run fine in all current tournaments/ladders.

Linux

Note: These instructions will create a 32-bit executable. There are no 32-bit tournaments and the result is not a DLL, so you can choose to create a 64-bit executable.

Windows-GNU target

Install support for the target:

rustup target add i686-pc-windows-gnu

Create the file '.cargo/config.toml':

[build]
target="i686-pc-windows-gnu"

Windows MSVC target

Follow the installation instructions for xwin: https://github.com/rust-cross/cargo-xwin

Create the file '.cargo/config.toml':

[build]
target="i686-pc-windows-msvc"

[target.i686-pc-windows-msvc]
linker = "lld"
rustflags = [
  "-Lnative=/home/<youruser>/.xwin/crt/lib/x86",
  "-Lnative=/home/<youruser/.xwin/sdk/lib/um/x86",
  "-Lnative=/home/<youruser/.xwin/sdk/lib/ucrt/x86"
]


## Mac
It should work the same way as with Linux - but it's untested.

About

A BWAPI client library that can be used to program AIs for Brood War in Rust.

Topics

aibrood-war-apibroodwarbwapigameruststarcraft

Resources

Readme
Activity

Stars

15 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.