Giter Site home page Giter Site logo

mief's Introduction

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

mief's People

Contributors

bmeu avatar dependabot-support avatar

Stargazers

Casey Kuball avatar 不死焱炎 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.