[go: up one dir, main page]

Skip to content

ttdonovan/lab-assistant-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lab Assistant

Warning! This project is a work in progress and apis are subject to change.

Lab Assistant is a collection of TypeScript tools designed to automate gameplay in Star Atlas - SAGE Labs.

For more details on Star Atlas, visit https://play.staratlas.com.

If you find our tools useful, please consider donating to support continued and future development:

  2yodqKtkdNJXxJv21s5YMVG8bjscaezLVFRfnWra5D77

labs-cmd-center

A TypeScript app that uses the @staratlas/sage package.

See README.md for more details.

Features

- [x] a fleet can start/stop mining
- [x] a fleet can dock/undock from Starbase
- [x] a fleet can withdraw/unload cargo (deposit to Starbase)
- [x] a fleet can deposit/reload cargo supplies (withdraw from Starbase)
- [/] a fleet can move to sector coordinates (warp)
    - [ ] movement handler (?)
    - [x] warp cordinate
    - [ ] warp lane (?)
- [ ] a fleet can move to sector coordinates (subwarp)
- [ ] a fleet can survey sector scan for SDU

Example of Usage

Tests

See labs-cmd-center/tests folder for more detailed examples.

  • solana.test.rs
  • solana.tx.test.rs

See labs-cmd-center/examples folder for simple instructions.

  • Mine Asteroids - mining.ts
  • Move to Coordinates - movement.ts

Server

First configure the labs-cmd-center/.env file.

cd labs-cmd-center
cp .env.sample .env
bun run src/server.ts

See thunder-collection_labs-cmd-center-api.json for more details.

Developer Notes

Bun

Windows

wsl --help
wsl --list
wsl -d Ubuntu -u <UserName> --system

Ubuntu

su - <username>

Development

cd labs-cmd-center
bun test

Resources

Additional resources.

Solana/Anchor

Credits

  • Inspired by Lab-Assistant.
  • To all those have graciously helped from #community-devlopers channel on Star Atlas Discord.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published