#clone #pong #game #display #fps

app mief

Mief is a Pong clone written in Rust

2 releases

Uses old Rust 2015

0.1.1 Nov 21, 2017
0.1.0 May 28, 2017

#8 in #pong

MIT/Apache

220KB
1K SLoC

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

Dependencies

~8.5MB
~177K SLoC