WIP gleam bindings to the screeps API
- Gleam 65.1%
- JavaScript 33.6%
- Nix 0.8%
- Just 0.5%
| dev | ||
| src | ||
| test | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| gleam.toml | ||
| justfile | ||
| manifest.toml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
screepers
WIP gleam bindings to the screeps arena API
TODO (API coverage)
Objects
- ConstructionSite
- properties
- my
- progress
- progressTotal
- structure
- functions
- remove
- properties
- CostMatrix
- clone
- constructor
- get
- set
- Creep
- custom state
- stuff inherited from gameObject
- controlledBy
- exists
- id
- ticksToDecay
- position
- properties
- body
- fatigue
- hits
- hitsMax
- my
- spawning
- store
- functions
- attack
- build
- drop
- harvest
- heal
- move
- moveTo
- pickup
- pull
- rangedAttack
- rangedHeal
- rangedMassAttack
- transfer
- withdraw
- Flag
- my
- GameObject
- controlledBy
- exists
- id
- ticksToDecay
- position
- Resource (only energy exists)
- Source
- energy
- energyCapacity
- Spawning
- creep
- needTime
- remainingTime
- cancel
- Store
- getCapacity
- getFreeCapacity
- getUsedCapacity
- Structure
- custom state
- stuff inherited from gameObject
- controlledBy
- exists
- id
- ticksToDecay
- position
- Container
- store
- Extension
- store
- Rampart
- Road
- Spawn
- directions
- spawning
- store
- setDirections
- spawnCreep
- Tower
- cooldown
- store
- attack
- heal
- Wall
- Visual
- layer
- persistent
- circle
- clear
- constructor
- line
- poly
- rect
- size
- text
- arenaInfo
- cpuTimeLimit
- cpuTimeLimitFirstTick
- level
- name
- season
- ticksLimit
Functions
- createConstructionSite
- findClosestByPath
- findClosestByRange
- findInRange
- findPath
- getCpuTime
- getDirection
- getHeapStatistics
- getObjectById
- getObjects
- getObjectsByPrototype
- getRange
- getTerrainAt
- getTicks
- searchPath
Capture The Flag
- BodyPart
Power Split
- BonusFlag
Construct And Control Basic
- AreaEffect
- ConstructionBoost
- StructrueGoal
Construct And Control Advanced
- AreaEffect
- ConstructionBoost
- EFFECT_CONSTRUCTION_BOOST
- EFFECT_SLOWDOWN
- KIND_BLUE
- KIND_GREEN
- KIND_RED
- StructureGoal
Constants
- All