#game #cpu #hardware #play #run #fictional

yanked cpu-game

A small CPU game to play with fictional hardware

2 unstable releases

0.1.0 Aug 16, 2024
0.0.1 Aug 16, 2024

#112 in #play

Download history 262/week @ 2024-08-15 3/week @ 2024-08-22

265 downloads per month

CC-BY-NC-ND-4.0

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

  1. Run cargo install cpu-game
  2. Run cpu-game init to initialize the save and data files. Simple, right?

Installing Locally

  1. Run cargo add cpu-game
  2. In your main.rs file, write use cpu-game
  3. 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)
  4. 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

~1.2–8.5MB
~73K SLoC