You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Elijah Voigt 545cad9d02 TODOs 5 hours ago
.cargo Add UI scaling and window example 4 months ago
assets Deal with jj removal 1 week ago
engine Shape layout stuff, test driven developmen to the rescue 6 hours ago
flappy Stubbing out shape asset loading for tetris, also fixed imports 3 days ago
hum Loading seems to work 3 days ago
physics Stubbing out shape asset loading for tetris, also fixed imports 3 days ago
tetris TODOs 5 hours ago
trees Stubbing out shape asset loading for tetris, also fixed imports 3 days ago
web Add UI scaling and window example 4 months ago
.envrc Pre-cargo initial commit 6 months ago
.gitignore Art pass 4 months ago
Cargo.lock Shape layout stuff, test driven developmen to the rescue 6 hours ago
Cargo.toml Stubbing out shape asset loading for tetris, also fixed imports 3 days ago
README.md Update README with other games 5 months ago
build.rs include build type in version string 5 months ago
flake.lock update toolchain 1 week ago
flake.nix Logo, misc cleanup for shipping 4 months ago
justfile Shape layout stuff, test driven developmen to the rescue 6 hours ago
rust-analyzer.toml Simple art pass 3 weeks ago
rust-toolchain.toml update toolchain 1 week ago

README.md

Games by Elijah V.

This is a mono-repo I am working on containing many mini-games I am working on.

Games

Building a game

You can build games in this project with cargo provided by Rust:

$ cargo run --bin game-name-here

That builds and runs a lightly optimized (but still debug) build of the game. For a fully optimized build add the --release flag:

$ cargo run  --release --bin game-name-here

Games in this project

All games can be found in the src/bin/ folder. There is a README in that folder with more info, and there should be a README in each subsequent game's folder with a rough design doc of that specific game.

What about examples?

I also have some examples which are meant to test out specific code or mechanics.

The distinction is basically if it has a menu it's a game, if it just runs it's an example.

Why a mono-repo?

For all of the reasons that mono-repos are good!

  • Code can be re-used across multiple games easily.
  • Code from one game can be easily referenced, copied, or forked.
  • I can stare at my accomplishments in one place.

Mono-repos get a bad rap because they feel bloated, or can cause conflict when lots of people step on each other's toes. I am a solo developer, so none of those are really problems for me.