Code Monkey home page Code Monkey logo

mariokart's Introduction

Mario Kart - The Famous game created with robots

Game created by Antoine TRAN

Information

  • Language : Qt Modelling Language (QML) 5.9

  • Build System : QMake

  • Library : Cellulo 1.0

Set up

  • The Robot control panel is necessary to connect your robot

  • Use the scanner button, then select the adress of your robot, finally click connect

  • Place the robot on the map

  • Choose your map. You are free to add as many as you want, this version contains only one

  • As soon as the robot's lights are green, you can press the "Play" button

Controls

The purpose of this 2D Game is to reach three times the end of the circuit. To move and rotate the robot, let's see how the pannel works :

  • The circle at the bottom left of the screen helps moving the robot. Place a finger around the circle, the angle will be calculated and the robot will move in the right direction. The further from the center of the circle you are, the faster the robot will move

  • The two arrows at the bottom right are used to rotate the robot. We'll se later the utility of rotating the robot

  • The bonus image at the center of the screen can be used once, to avoid the required rotation of the robot. Again, we'll se later why this is useful

  • The "I am stuck" button shouldn't be used. Ifyou can't move your robot despite the fact that all the leds are green, this means a bug appeared, so you can unlock the robot with this button

  • The Red / Green Rectangle shows either the robot is kidnapped or not

GamePlay

  • Every 12 seconds, a blue led will appear. A timer is represented by the red leds that will appear, and you have to point the blue led towards the north of the map before all the leds become red, otherwise you will get stuck during a period of 3 seconds

  • You can also notice coins and mushrooms on the circuit. You can only take these bonus once per round. Both give you points at the end of the race, and in addition the mushrooms increases your speed during 5 seconds of 66%

  • Each map contains checkpoints, as soon as you cross the border of the road the robot will be moved to the last checkpoint

Score calculation

Your initial score is 92. After 3 minutes, you start loosing 1 point every 4 seconds, and each bonus gives you one point back.

Therefore the final calculation is :

92 - (minutes -3) * 15 - seconds / 4 + bonusAmount

According with that, the best score would be approximately 4:30 of race (nearly impossible to do less) and 30 bonus (all of them) which gives 92 - 15 - ~7 + 30 = 100.

Assuming that you should normally take between 5 and 10 minutes to finish the race, you should usually get between 20 and 90 points

mariokart's People

Contributors

tran-antoine avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

chili-epfl

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.