2 unstable releases
0.1.0 | Aug 16, 2024 |
---|---|
0.0.1 | Aug 16, 2024 |
#106 in #play
15KB
275 lines
CPU Game
This is a game where you upgrade your fictional computer with fictional parts to have the best computer.
How to Run
Installing Globally
- Run
cargo install cpu-game
- Run
cpu-game init
to initialize the save and data files. Simple, right?
Installing Locally
- Run
cargo add cpu-game
- In your main.rs file, write
use cpu-game
- Initialize the files by running
cpu-game::init()
, this only needs to be done once (and can be ran - again if you need to reset the data) - Start the game using
cpu-game::start()
0.x meaning
A 0.x version means the game is not finished and there is no actual game yet. Meaning you cannot upgrade your parts.
Dependencies
~2–9MB
~87K SLoC