1
0
Fork
You've already forked marsrover
0
Drive a rover across mars surface without falling into a ditch!
  • Rust 100%
2023年08月22日 18:45:34 +02:00
.github/workflows chore(ci): add clippy action 2023年08月22日 17:50:18 +02:00
.reuse Initial commit. 2023年08月10日 17:30:58 +02:00
data docs: replace screenshot with gif 2023年08月22日 18:34:17 +02:00
LICENSES Initial commit. 2023年08月10日 17:30:58 +02:00
src chore: rename hole to crater 2023年08月22日 17:51:46 +02:00
.gitignore Initial commit. 2023年08月10日 17:30:58 +02:00
Cargo.lock chore(main): release 0.1.0-alpha.3 2023年08月22日 18:45:34 +02:00
Cargo.toml chore(main): release 0.1.0-alpha.3 2023年08月22日 18:45:34 +02:00
CHANGELOG.md chore(main): release 0.1.0-alpha.3 2023年08月22日 18:45:34 +02:00
README.md docs: replace screenshot with gif 2023年08月22日 18:34:17 +02:00

marsrover

marsrover is a reimplementation of the venerable and well-known game moon-buggy. The idea of the game is that you drive a small vehicle over a surface and you have to cope with obstacles, first there are small craters you have to jump over (using Space), later there are bigger ones and eventually some monsters appear, which you have to shoot (using j).

Configuration

The configuration files resides in $XDG_CONFIG_HOME/marsrover/config.toml. You can use it to adapt the colors or create levels.

Levels

There are a couple of levels predefined in the game, after the last level new levels are randomly generated.

If you want to define your own levels, you can do that in the configuration files. Per level there are a couple of settings for probabilities of obstacles occuring and a points setting that defines how many points the user can get in that level (=the game switches to the next level if the user reaches the points).

[[levels]]
prob_crater_one = 0.2
prob_crater_two = 0.0
prob_crater_three = 0.0
prob_monster = 0.5
prob_monster_jumping = 0.3
points = 100