项目作者: daboross

项目描述 :
Terminal User Interface for the Screeps programming MMO
高级语言: Rust
项目地址: git://github.com/daboross/srv.git
创建时间: 2019-05-18T08:31:40Z
项目社区:https://github.com/daboross/srv

开源协议:MIT License

下载


srv: screeps room view

Build Status

A TUI application allowing viewing Screeps servers/rooms.

Screeps is a programming MMO: users control their creeps with JavaScript, and the server itself is open source

Uses the rust-screeps-api library for networking.

Current features:

  • viewing rooms
  • defaulting to a user’s owned room when starting up
  • navigating around room with arrow keys or hjlk
  • switching shards by pressing ‘s’ key
  • viewing basic information about objects under cursor

TODO:

  • implement more controls besides just “move around the room”
  • implement some display of what actions happened last tick
  • implement other viewing modes
    • profiles
    • leaderboards
    • messages
    • console

screenshot image of srv's operation

Building

Requires nightly Rust. Tested with rustc 1.36.0-nightly (372be4f36 2019-05-14).

Options:

  • Install snapshot of repository into PATH

    1. cargo install --git https://github.com/daboross/srv.git
  • Install from cloned repository
    1. cargo install --path .
  • Run directly from repository

    1. # debug mode (faster compile, slower runtime)
    2. cargo run -- --token 'my_auth_token'
    3. cargo run -- --help
    4. # release
    5. cargo run --release -- --help
    6. # or
    7. cargo build --release
    8. ./target/release/srv --help