bevyengine / bevyengine/bevy

Create a simple terminal-based example game

Open
#9,634 0 comments 3 reactions 0 assignees View on GitHub
C-Examples
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

With a CLI crate in tree for our examples, this is a great opportunity to show off how Bevy can be used in less conventional contexts. This will make heavy use of a custom runner :)

Switched to google's `argh` crate for command line parsing. It's small, has only dependencies that we already have (syn, quote, serde, proc-macro2), and is still derive-based so brings most of the ergonomics we need. FromArgs has a blanket implementation for anything that implements FromStr. This means we have to implement FromStr for enums.

_Originally posted by @superdump in https://github.com/bevyengine/bevy/issues/9596#issuecomment-1698066683_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.