Skip to content

Latest commit

 

History

History
69 lines (59 loc) · 2.48 KB

File metadata and controls

69 lines (59 loc) · 2.48 KB

CIn/UFPE - StarCraft 2 Project

This is a project for the master degree class IN1100 (Agentes Cognitivos e Adaptativos - ACA) at CIn/UFPE. Year 2018.1.

Team

Environment Setup

StarCraft 2 Installation

For Windows, get the installer from link and follow the instructions for its installation.

For Linux., get the linux package version 4.1.2 from link and unzip it using the password iagreetotheeula on $HOME directory. Then download the Melee map pack and unzip it into the game folder. It should be into the folder maps. Follow the final folder structure:

StarCraftII/
├── AppData
├── Battle.net
├── Interfaces
├── Libs
├── maps
│   └── Melee
│       ├── Empty128.SC2Map
│       ├── Flat128.SC2Map
│       ├── Flat32.SC2Map
│       ├── Flat48.SC2Map
│       ├── Flat64.SC2Map
│       ├── Flat96.SC2Map
│       ├── Simple128.SC2Map
│       ├── Simple64.SC2Map
│       └── Simple96.SC2Map
├── Replays
├── SC2Data
└── Versions

Python Version

The Python version required is 3.6 or newer. Windows installer. For Linux it might already brings it by default. Just type python3 on terminal. In any case.

Clone this project

$ git clone git@github.com:Daanielvb/cin-starcraft-ai.git

Create VirtualEnv

$ mkdir $HOME/.virtualenvs
$ cd $HOME/.virtualenvs
$ python3 -m venv cin-starcraft-ai

Install the dependencies

$ source $HOME/.virtualenvs/cin-starcraft-ai/bin/activate
(cin-starcraft-ai) $ cd [CIN_STARCRAFT_AI_FOLDER_PATH]
(cin-starcraft-ai) $ pip install -r requirements-dev.txt

References