Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
JavaBWAPI
JBWAPI
Repository navigation
Code
Issues
11
(11)
Pull requests
4
(4)
Actions
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
JBWAPI
src
main
java
bwapi
Game.java
on
perf-optimizations
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 8, 2026
Use BitSet for Game.visibleUnits
Jasper Geurtz
committed
7dfe602
View commit details
Copy full SHA for 7dfe602
View code at this point
Browse repository at this point
Cache immutable wrappers on UnitType, TechType, and UpgradeType
Jasper Geurtz
committed
e362570
View commit details
Copy full SHA for e362570
View code at this point
Browse repository at this point
Optimize Unit.getDistance, Unit.updatePosition, getUnitsInRectangle, and canBuildHere
Jasper Geurtz
committed
fa80c4b
View commit details
Copy full SHA for fa80c4b
View code at this point
Browse repository at this point
Add lazy per-frame UnitListCache for filtered unit lists
Jasper Geurtz
committed
2340f05
View commit details
Copy full SHA for 2340f05
View code at this point
Browse repository at this point
Align JBWAPI behavior and bug fixes with C++ BWAPI 4.4.0
Show description for bfb33aa
Jasper Geurtz
committed
bfb33aa
View commit details
Copy full SHA for bfb33aa
View code at this point
Browse repository at this point
Commits on Nov 7, 2026
Fix targetUnit.isCompleted() in Unit.canGather and add unit tests for PR #102 fixes
Show description for 810617e
Jasper Geurtz
committed
810617e
View commit details
Copy full SHA for 810617e
View code at this point
Browse repository at this point
fix getUnitX conditions
Jasper Geurtz
committed
e40ee50
View commit details
Copy full SHA for e40ee50
View code at this point
Browse repository at this point
setMap should return false on empty mapFileName not throw
Jasper Geurtz
committed
f62fa63
View commit details
Copy full SHA for f62fa63
View code at this point
Browse repository at this point
Commits on Oct 31, 2026
fix bug in hasPower fallback when no unittype is provided
Jasper Geurtz
committed
dcef547
View commit details
Copy full SHA for dcef547
View code at this point
Browse repository at this point
Commits on May 9, 2023
Add documentatio for the Game::drawTextX methods
JasperGeurtz
committed
ca71f64
View commit details
Copy full SHA for ca71f64
View code at this point
Browse repository at this point
Commits on Oct 13, 2022
Make BWClientConfiguration use the builder pattern
JasperGeurtz
committed
ba8afc3
View commit details
Copy full SHA for ba8afc3
View code at this point
Browse repository at this point
Commits on Apr 28, 2022
give each unittype their own cache
JasperGeurtz
committed
8e598f2
View commit details
Copy full SHA for 8e598f2
View code at this point
Browse repository at this point
Commits on Apr 26, 2022
Rescale Unit array on `>=` not `>` (off-by-one)
Show description for 8192ea6
JasperGeurtz
authored
8192ea6
View commit details
Copy full SHA for 8192ea6
View code at this point
Browse repository at this point
Commits on Apr 15, 2022
Merge pull request #77 from dgant/perf-and-bwem
Show description for 23ad3be
JasperGeurtz
authored
23ad3be
View commit details
Copy full SHA for 23ad3be
View code at this point
Browse repository at this point
Commits on Mar 13, 2021
clear individual lists instead of the whole map
JasperGeurtz
committed
cf6d051
View commit details
Copy full SHA for cf6d051
View code at this point
Browse repository at this point
Commits on Mar 11, 2021
use a view of the array instead of allocating a new one
JasperGeurtz
committed
754223e
View commit details
Copy full SHA for 754223e
View code at this point
Browse repository at this point
cache calls to connected&loaded units per frame
JasperGeurtz
committed
e3e6795
View commit details
Copy full SHA for e3e6795
View code at this point
Browse repository at this point
Commits on Jan 1, 2021
Eliminated some temporary object creation in API calls
dgant
committed
a65596e
View commit details
Copy full SHA for a65596e
View code at this point
Browse repository at this point
Commits on Oct 5, 2020
Disabled latency compensation in async mode.
dgant
committed
04db785
View commit details
Copy full SHA for 04db785
View code at this point
Browse repository at this point
Configuration now can not be modified after game starts
dgant
committed
736ff2c
View commit details
Copy full SHA for 736ff2c
View code at this point
Browse repository at this point
Fixed up unit tests
dgant
committed
aa17f4f
View commit details
Copy full SHA for aa17f4f
View code at this point
Browse repository at this point
Commits on Sep 24, 2020
Removed unnecessary allocations in Game API.
dgant
committed
b735923
View commit details
Copy full SHA for b735923
View code at this point
Browse repository at this point
Commits on Aug 16, 2020
Cleanup
dgant
committed
93a9791
View commit details
Copy full SHA for 93a9791
View code at this point
Browse repository at this point
Commits on Aug 13, 2020
Removed console noise caused by bot thread dying (as expected) from exception test
dgant
committed
1970dd5
View commit details
Copy full SHA for 1970dd5
View code at this point
Browse repository at this point
Fixed bug in which BotWrapper was looking at bot data to determine the live frame
dgant
committed
c30289b
View commit details
Copy full SHA for c30289b
View code at this point
Browse repository at this point
Restored stepwise logging to monitor asynchronous steps
dgant
committed
4be2706
View commit details
Copy full SHA for 4be2706
View code at this point
Browse repository at this point
[Tests failing] Finished test environment for sync/async tests. Configured tests to run with sufficient memory to allocate framebuffers.
dgant
committed
80d37cf
View commit details
Copy full SHA for 80d37cf
View code at this point
Browse repository at this point
Commits on Aug 8, 2020
Fixed erroneous conversion between nanoseconds and milliseconds. First pass at performance metrics.
dgant
committed
3159f73
View commit details
Copy full SHA for 3159f73
View code at this point
Browse repository at this point
Commits on Jul 29, 2020
Fixed strings
dgant
committed
fd921e8
View commit details
Copy full SHA for fd921e8
View code at this point
Browse repository at this point
Commits on Jul 28, 2020
First end-to-end working version. Added side effect queue to route commands to live shared memory instead of uselessly writing them to the frame buffer.
dgant
committed
d4d03b6
View commit details
Copy full SHA for d4d03b6
View code at this point
Browse repository at this point
Commits on Jul 26, 2020
Assigning the asynchronous bot perspective to Game
dgant
committed
165db79
View commit details
Copy full SHA for 165db79
View code at this point
Browse repository at this point
Commits on Jul 20, 2020
Restored existing (sync) behavior.
dgant
committed
486bf4f
View commit details
Copy full SHA for 486bf4f
View code at this point
Browse repository at this point
Commits on Jul 19, 2020
Extracted portions of Client to GameDataUtils. Removed the bot loop entirely for reinsertion via BotWrapper, so this revision is in a non-working state.
dgant
committed
0cae24e
View commit details
Copy full SHA for 0cae24e
View code at this point
Browse repository at this point
Commits on Apr 28, 2020
Game#sendText strings can also be formatted
JasperGeurtz
committed
6ea6e17
View commit details
Copy full SHA for 6ea6e17
View code at this point
Browse repository at this point
Commits on Apr 6, 2020
color toString & simplify text formatting code
JasperGeurtz
committed
50364db
View commit details
Copy full SHA for 50364db
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.