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 - Plankton555/SSCAIT-ObserverModule

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
source_bwapi_3_7
source_bwapi_3_7
 
 
source_bwapi_4
source_bwapi_4
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

SSCAIT-ObserverModule

This is the source code for the observer module used by the Student StarCraft AI Tournament (SSCAIT).

More information can be found at

  • SSCAIT website: http://sscaitournament.com/
  • Technical report describing the module: https://arxiv.org/abs/1505.00278

Due to some changes between BWAPI versions, the code in source_bwapi_3_7/ and source_bwapi_4/ is slightly different, but with no changes in functionality.

Usage

This observer module is utilized by a TournamentModule. The following functions should be called:


CameraModule::onStart(BWAPI::Position startPos, int screenWidth, int screenHeight)

The screen dimensions are used to center events on the screen. Should be called once at the start.


CameraModule::onFrame()

Runs the code determining what the observer should be focusing on and handles camera movement. Should be called every frame.


CameraModule::moveCameraUnitCreated(BWAPI::Unit* unit)

Should be called when a unit is created (for example in TournamentModule::onUnitComplete()). Is used to inform the observer about unit-creation events.


Many fields (such as cameraMoveTime, cameraMoveTimeMin, and watchScoutWorkerUntil) are declared public in the header file and can be changed while e.g. reading a config file. If not changed, the default values (set in the CameraModule constructor) will be used.

About

No description, website, or topics provided.

Resources

Readme
GPL-3.0 license
Activity

Stars

8 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

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.