MCPcopy Index your code
hub / github.com/ekosachev/astray

github.com/ekosachev/astray @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
299 symbols 541 edges 41 files 7 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Image

TUI-based space strategy game

Image Image

🧐 Features

  • Unique UI design
  • Fully customisable spaceships and spaceship parts (coming soon)
  • Real orbit calculations and maneuvers (coming soon)

🛠️ Installation

1. Download the latest release from GitHub
2. Unzip the archive
3. Launch the astray.exe file

🍰 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

➤ License

Distributed under the MIT License. See LICENSE for more information.

❤️ Support

A simple star to this project repo is enough to keep me motivated on this project for days. If you are feeling extra-generous today, you can donate some money to make me really happy - https://donate.stream/astray

Screenshots

Screenshot 1

Extension points exported contracts — how you extend this code

Component (Interface)
`Component` is a trait that represents a visual and interactive element of the user interface. Implementors of this trai [6 …
src/components.rs
Displayable (Interface)
(no doc) [9 implementers]
src/game/celestial_bodies.rs
CelestialBody (Interface)
`CelestialBody` is a trait that represents a celestial body in the game and provides methods for getting information abo [3 …
src/game/celestial_bodies.rs
Orbitable (Interface)
The trait `Orbitable` is applied to the game objects that can be orbited by other objects. [1 implementers]
src/game/celestial_bodies.rs
CanOrbit (Interface)
(no doc) [1 implementers]
src/game/celestial_bodies.rs
ShipModule (Interface)
(no doc) [1 implementers]
src/game/shipbuilding/ship_module.rs

Core symbols most depended-on inside this repo

into
called by 13
src/game/colony/building.rs
get_research_by_id
called by 10
src/game/research/research_manager.rs
is_finished
called by 8
src/game/research/research.rs
sample
called by 7
src/game/resource/resource.rs
get_name
called by 7
src/game/colony/colony.rs
draw
called by 7
src/components/fps.rs
select_next_in_list
called by 6
src/components/utils.rs
select_prev_in_list
called by 6
src/components/utils.rs

Shape

Method 199
Function 53
Class 29
Enum 12
Interface 6

Languages

Rust100%

Modules by API surface

src/config.rs28 symbols
src/tui.rs19 symbols
src/game/research/research_manager.rs19 symbols
src/game/helpers.rs19 symbols
src/game/game_state.rs19 symbols
src/game/research/research.rs18 symbols
src/game/celestial_bodies/solar_system.rs17 symbols
src/game/celestial_bodies/planet.rs14 symbols
src/game/resource/resource.rs11 symbols
src/game/colony/colony.rs11 symbols
src/game/celestial_bodies/star.rs11 symbols
src/game/colony/building_manager.rs10 symbols

For agents

$ claude mcp add astray \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page