Crates.io | librollenspielsache |
lib.rs | librollenspielsache |
version | 0.1.2 |
source | src |
created_at | 2020-05-05 19:04:48.659998 |
updated_at | 2020-05-08 22:10:15.827992 |
description | API for working with tabletop RPG entities. |
homepage | https://crates.io/crates/librollenspielsache |
repository | https://github.com/deciduously/librollenspielsache |
max_upload_size | |
id | 237953 |
size | 19,783 |
WIP - there's like nothing actually here yet. This is more a guiding plan.
The Rollenspielsache is a set of tools for managing tabletop RPG games. The goal is to handle the mechanics seamlessly, allowing you to participate or run a tabletop encounter without getting distracted by rule clarifications.
This repo contains the core library as a Rust crate with an eventually optional C-FFI interface. In Rust you get to use the full Rust API, I plan to expose as much as I can, but the FFI interface is much more barebones and largely guided by need. Use cargo build --release
to produce target/release/librollenspiel.so
. Then, add this directory to your $LD_LIBRARY_PATH
to create a binding. Use cargo test
to run the tests.
This library aims to cover as much territory as possible, reducing automating as many interactions as possible for a seamless experience while running (or playing) a game, whether that's in person or digitally via another system like roll20.
Systems - make everything as agnostic as possible:
TODO roll20 integration?
Data-ready
Control the build with cargo
. Use make all
as a shortcut to put the compiled shared object file for FFI usage in dist/
. Point your linker to this file to use it.