WIP gleam bindings to the screeps API
  • Gleam 65.1%
  • JavaScript 33.6%
  • Nix 0.8%
  • Just 0.5%
Find a file
2026-05-07 17:57:39 +02:00
dev add functions to get creeps; fix some stuff and beat the tutorial 2026-05-03 22:35:59 +02:00
src remaining tower stuff 2026-05-07 17:57:39 +02:00
test basic setup; pushing to screeps servers works 2026-04-24 20:52:01 +02:00
.gitignore basic bindings for the memory api 2026-04-24 22:03:36 +02:00
flake.lock move construction sites to their own module 2026-05-02 21:51:59 +02:00
flake.nix basic setup; pushing to screeps servers works 2026-04-24 20:52:01 +02:00
gleam.toml circle visual ffi done; structure and creep state now always the same for any reference to the same structure / creep 2026-05-03 15:50:19 +02:00
justfile moving from screeps world to screeps arena 2026-05-01 21:28:08 +02:00
manifest.toml add visuals 2026-05-02 21:51:40 +02:00
package-lock.json basic setup; pushing to screeps servers works 2026-04-24 20:52:01 +02:00
package.json basic setup; pushing to screeps servers works 2026-04-24 20:52:01 +02:00
README.md remaining tower stuff 2026-05-07 17:57:39 +02:00

screepers

WIP gleam bindings to the screeps arena API


TODO (API coverage)

Objects

  • ConstructionSite
    • properties
      • my
      • progress
      • progressTotal
      • structure
    • functions
      • remove
  • 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