Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyCommandCenter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Ahlroth
PyCommandCenter
Commits
27ebb1bf
Commit
27ebb1bf
authored
6 years ago
by
David Bergström
Browse files
Options
Downloads
Patches
Plain Diff
Quickstart -> Getting started
parent
0a55a6f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/gettingstarted.rst
+4
-2
4 additions, 2 deletions
docs/gettingstarted.rst
docs/idabot.rst
+3
-1
3 additions, 1 deletion
docs/idabot.rst
docs/index.rst
+8
-3
8 additions, 3 deletions
docs/index.rst
docs/managers.rst
+2
-0
2 additions, 0 deletions
docs/managers.rst
with
17 additions
and
6 deletions
docs/
quick
start.rst
→
docs/
getting
start
ed
.rst
+
4
−
2
View file @
27ebb1bf
.. TODO: How should we host the binaries
Creating your first bot
=======================
.. _gettingstarted:
Getting started
===============
The goal of this page is to get you quickly started using the API. The
following code block is the bare minimum you need to start Starcraft II and run
...
...
This diff is collapsed.
Click to expand it.
docs/idabot.rst
+
3
−
1
View file @
27ebb1bf
IDABot
======
.. TODO: Missing methods: on_start, on_step
.. class:: library.IDABot
This is the basis of your bot. It contains all available managers and some
methods to get you started.
See :
doc
:`this page <
quick
start>` for how to properly
See :
ref
:`this page <
getting
start
ed
>` for how to properly
inherit from IDABot.
Instances of managers:
...
...
This diff is collapsed.
Click to expand it.
docs/index.rst
+
8
−
3
View file @
27ebb1bf
...
...
@@ -3,13 +3,18 @@ Welcome to PyCommandCenter's documentation!
This is a Python library based on the CommandCenter bot for implementing bots for Starcraft II.
.. TODO: IDABot in toctree
If you are looking on how to get started, take a look at :ref:`Getting
started <gettingstarted>`.
.. TODO: Coordinates explained
Table of contents
-----------------
.. toctree::
:maxdepth: 2
:caption: Contents:
quick
start
getting
start
ed
managers
idabot
unit
...
...
This diff is collapsed.
Click to expand it.
docs/managers.rst
+
2
−
0
View file @
27ebb1bf
...
...
@@ -47,6 +47,8 @@ BaseLocationManager
.. attribute:: library.BaseLocation.position
The position of the center of the BaseLocation, defined as a :class:`library.Point2D`.
This is the position used if you want to build a Command Center at the
base location.
.. attribute:: library.BaseLocation.depot_position
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment