

GitHub - Games-and-Simulations/sc-docker: Multi-platform Version of StarCraft: B...
source link: https://github.com/Games-and-Simulations/sc-docker
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

StarCraft I (BroodWar) docker images
This repository prepares a fully working StarCraft: Brood War game running in Wine inside of docker image.
It can download and launch bots that use BWAPI to communicate with the game.
About
We are pleased to publish docker images for StarCraft: Brood War and BW bots!
This means the end of complicated game setup for newcomers or people who simply want to play StarCraft against AI bots.
You can develop your bots on your favorite platform instead of relying on Windows.
We have more things cooking: This is a part of our ongoing effort to create an easy-to-use environment for machine learning bots (bots that improve based on experience and self-play).
This project is maintained by Games & Simulations Research Group which is also behind Student StarCraft AI tournament (SSCAIT).
If you like what we're doing, support us on Patreon. We will be very grateful!
Installation
See installation instructions for Linux / Windows / Mac.
It should run well on new versions of major operating systems. It was tested on:
- Ubuntu 17.04 Zesty,
Linux 4.10.0-40-generic x86_64
- Microsoft Windows 10 (64-bit)
- Mac OS Sieria 10.12.6 (64-bit, Mac mini)
Testing and reporting in other settings is very welcome!
Usage
Bots playing against each other
Launch headful play of krasi0 and CherryPi on default map.
$ scbw.play --bots "krasi0" "CherryPi" --show_all
Create game on the server (VNC viewer on port 5900) and wait for bots to join the game.
Play against a bot
$ scbw.play --bots "PurpleWave" --human
Select a map, specify your race, and wait for bot(s) to join the game :)
You can put the RealVNC client to fullscreen and play comfortably.
(Although you might want to change your screen resolution to 800x600)
The GUI is going to be probably slower than normal game due to streaming via VNC.
It is however possible to play the game from the host if you have Windows, but it is more complicated setup.
See more usage examples.
Known limitations
- Headful mode needs to specify the map manually due to "Unable to distribute map" bug.
- Works only for BWAPI 3.7.4, 3.7.5, 4.1.2, 4.2.0 and 4.4.0
Specification
- StarCraft 1.16.1 game from ICCUP (no need for special installs!)
- BWAPI 3.7.4, 3.7.5, 4.1.2, 4.2.0
- BWTA 2.2
- SSCAI maps pack with BWTA/BWTA2 caches
- 32bit oracle Java 8
1.8.0_152-b16
- bwheadless
v0.1
- wine
2.20.0~xenial
- base image
ubuntu:xenial
- uses special tournament module (TM)
Dockerhub images
Images are available on Dockerhub.
You can use:
ggaic/starcraft:wine
ggaic/starcraft:bwapi
ggaic/starcraft:java
ggaic/starcraft:play
These are latest stable images and are subject to change.
You can use stable images with version postfix, which correspond to git tags.
Contributing
Pull requests are welcome! There are still many things to do, especially from todo list.
Citations
If you use sc-docker
in your (academic) work, please cite our Technical Report:
@misc{sustr2018multi,
Author = {Michal \v{S}ustr and Jan Mal\'{y} and Michal \v{C}ertick\'{y}},
Title = {{Multi-platform Version of StarCraft: Brood War in a Docker Container: Technical Report}},
Year = {2018},
Eprint = {arXiv:1801.02193},
}
Links
Inspired by
Some useful links
Recommend
-
98
Overview The StarCraft II API is an interface that provides full external control of StarCraft II. This API exposes functionality for developing software for: Scripted bots. Machine-learning based bots.
-
60
-
56
README.md TorchCraftAI TorchCraftAI is a platform that lets you build agents to play (and learn to play) StarCraft®: Brood War®†. TorchCraftAI...
-
93
README.md Reaver: StarCraft II Deep Reinforcement Learning Agent
-
266
README.md - This is a BETA release. SMAC - StarCraft Multi-Agent Challenge
-
17
Starcraft , released in 1998, is still one of the best strategy games ever made. Over 20 years later it still has a strong community and
-
6
StarCraft星际争霸1背景剧情故事2020年8月4日 by anzhihe·0评论 · 806 人阅读 · 隐藏边栏
-
5
Starcraft Collective Groups of animals get special collective nouns1, some of which are familiar (e.g., a pride of lions, a gaggle of geese) and others that a...
-
5
MARL(续) https://mp.weixin.qq.com/s/0Xuxr7CXqsxrssW2I6NCBQ 通用智能化:BAIR简述人类-机器人协作新技术 https://mp.weixin.qq.com/s/GNbCu1lbOmwJDCU3vgMbtQ OpenAI发布多智能体深度强化学习新算法LOLA https:...
-
4
How to Use Docker and NS-3 to Create Realistic Network Simulations
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK