mief

Crates.iomief
lib.rsmief
version0.1.1
sourcesrc
created_at2017-05-28 19:29:53.787827
updated_at2017-11-21 04:31:19.555112
descriptionMief is a Pong clone written in Rust.
homepage
repositoryhttps://github.com/BMeu/Mief
max_upload_size
id16636
size229,213
Bastian Meyer (BMeu)

documentation

https://bmeu.github.io/Mief

README

Mief

Build Status on Travis Build Status on AppVeyor Codecov License crates.io Documentation Crates.io

Mief is a Pong clone written in Rust.

WORK IN PROGRESS: Please report any issues and wishes on GitHub.

Usage

  1. Installation:
    1. Install Rust
    2. Download Mief: git clone https://github.com/BMeu/Mief.git; cd Mief
  2. Run Mief: cargo run --release

If you want to display the current frames per second (FPS), you will have to (compile and) run Mief with the display-fps feature: cargo run --release --features display-fps instead.

Instructions

The goal is pretty simple: prevent the ball from leaving the field on your side. Each player controls a handle (player 1 the left one, player 2 the right one). Move the handle up and down to return the ball to the other player.

Currently, Mief only supports an endless mode - just play as long as you want. The game starts immediately after starting Mief, and if you miss a ball, the next one will start immediately in the center of the field. If you want to start a completely new game, you will have to quit and restart Mief.

Controls

  • Player 1:
    • Up: W
    • Down: S
  • Player 2:
    • Up: Up
    • Down: Down
  • Quit: Esc

Future

  • Repeatedly increase ball and handle speeds
  • Adjust field size when resizing the window
  • Do not immediately start the game and new balls
  • Customizable settings
  • Add a main menu, in-game instructions, settings, ...
  • Select game mode: endless, reach x points, difference of x, ...
  • Add difficulties (e.g. speed of handles and ball, size of handles, multi-ball, freely move handles)
  • Add a 4-player mode: square field, player on each side
  • Add controller support
  • Add computer players

License

Unless stated otherwise, the following licenses apply:

Source Code

Mief is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Assets

Commit count: 87

cargo fmt