Code Monkey home page Code Monkey logo

splash-tournament's Introduction

Splash Tournament

Splash

Splash is a 1v1 platform game available on N&M Games. Two players, a yellow and a green rounded rectangle are standing on a platform above water. Both players have the objective to push their enemy in the water. The game is also available for the DJO Lichtkrant.

Tournament

Time

A Splash game lasts for 45 seconds. The timer is shown in the top right corner.

Draw

There is no draw in the Splash tournament!

  • When the timer runs out, the red and blue surfaces of the platform fall in the water, reducing the play area;
  • And then, after a few minutes, the entire platform will slowly shrink, forcing the players to finally become wet;
  • When both players simultaneously fall in the water, the winner will randomly be determined.

Rounds

The amount of participants must be a power of 2 to have a clear structure for the tournament. Everyone will randomly battle someone else. Afterwards, half of the participants remain. Repeat that until there is one champion!

Prize

The prize for the champion will likely be a bag of M&M's.
This because the 'N&M' in N&M Games is often compared to M&M at DJO Amersfoort.

Starting

Clone the repository and navigate into it's folder:

git clone https://github.com/djoamersfoort/splash-tournament
cd splash-tournament

Now launch the index.html file, nearly all browsers should be able to run it!

xdg-open index.html

Game controls

Keyboard

Keybind Action
Enter Start Game
W Yellow player: Jump
A Yellow player: Move Left
D Yellow player: Move Right
Arrow Up Green player: Jump
Arrow Left Green player: Move Left
Arrow Right Green player: Move Right
Escape Pause

One DualShock 4 controller

Button Action
Square Start Game
Left Thumb Stick Yellow player: Move
Green Thumb Stick Green player: Move
L1 Yellow player: Jump
R1 Green player: Jump
Triangle Restart game if ended

Two DualShock 4 controllers

For both players:

Button Action
Square Start Game
Triangle Restart game if ended

Per player:

Button Action
Left Thumb Stick Move
Cross Jump

Contributing

Contributions to this project are welcome!

Good luck and have fun!

splash-tournament's People

Contributors

iloveandlikepizza avatar

Watchers

James Cloos avatar Ronald Moesbergen 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.