Skip to content

ludlyl/MulleMech

Repository files navigation

MulleMech

About

Starcraft 2 bot based off of Suvorov-bot.

MulleMech currently provides the following features:

  • Supports Windows, OS X and Linux.
  • Plays all 3 races.
  • Manages resource gathering and worker allocation.
  • Supports all available buildings upgrades (e.g. Orbital Command, Planetary Fortress, Lair).
  • Supports all available zerg units mutations (e.g. Overseer, Baneling, Ravager).
  • Calls down MULEs, casts chronoboost.
  • Warps in gate units.
  • Automatically builds new supplies when needed.
  • Supports launch under Sc2LadderServer.

Build requirements

Windows

Linux

  • Install 'gcc-c++'.
  • Install the 'make' utility.

OS X

  • Install XCode command-line tools.

Build instructions

Windows

:: Get the project.
$ git clone --recursive https://github.com/ludlyl/MulleMech.git
$ cd MulleMech

:: Disable /WX compiler flag if you want to build the project
:: under fresh compiler/new Visual Studio.
$ git apply hacks/disable_WX.patch

:: Create build directory.
$ mkdir build
$ cd build

:: Generate VS solution.
$ cmake ../ -G "Visual Studio 15 2017 Win64"

:: Build the project using Visual Studio.
$ start MulleMech.sln

:: Launch the bot with the specified path to a SC2 map, e.g.
$ bin\Debug\MulleMech.exe Ladder2017Season3\InterloperLE.SC2Map

Linux

# Get the project.
$ git clone --recursive https://github.com/ludlyl/MulleMech.git && cd MulleMech

# Create build directory.
$ mkdir build && cd build

# Generate a Makefile.
# Use 'cmake -DCMAKE_BUILD_TYPE=Debug ../' if debuginfo is needed
# Debug build also contains additional debug features, chat support
# and runs game at slower speed.
$ cmake ../

# Build.
$ make

# Launch the bot with the specified absolute path to a SC2 map, e.g.
$ ./bin/MulleMech "/Users/alkurbatov/work/tmp/Ladder2017Season3/InterloperLE.SC2Map"

OS X

# Get the project.
$ git clone --recursive https://github.com/ludlyl/MulleMech.git && cd MulleMech

# Apply compilation fixes for OS X.
$ git apply hacks/civetweb_compilation_fix.patch

# Create build directory.
$ mkdir build && cd build

# Generate a Makefile.
# Use 'cmake -DCMAKE_BUILD_TYPE=Debug ../' if debuginfo is needed
# Debug build also contains additional debug features, chat support
# and runs game at slower speed.
$ cmake ../

# Build.
$ make

# OS X: Launch the bot with the specified path to a SC2 map, e.g.
$ ./bin/MulleMech "Ladder2017Season3/InterloperLE.SC2Map"

Coding Standard

We follow slightly modified Google C++ Style Guide. See .travis/lint.sh for details.

License

Copyright (c) 2017

Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages