Git Product home page Git Product logo

mario-game's Introduction

Terminal SuperMario

Virtualenv recommended

pip install -r requirements.txt

RUN: run.py in python3.

python3 run.py

Tested and runs on Mac.

Controls :

Quit game 	: q
Jump		: w
Move left	: a
Move right	: d

FUNCTIONALITIES IMPLEMENTED:

# OOP Concepts included
# Mario - 3 lives to play. 
# Mario's Movement - double jump(with gravity), left, right
# Enemies - random movement; get killed when Mario jumps on them
# Bricks - That get destroyed when Mario's head hits them
# Tunnels, Platform, Coins 
# Mario gets a score of +100 on killing an enemy and a score of +20 on breaking a brick and +50 on collecting a coin.
# The game is terminated if the Mario loses his three lives or the user presses the key 'q' or he has completed the game.
# 2 types of Pits - Fire and Water 
# Background and Scenery - 2 different scenes: background and underground
# Score and lives are displayed

BONUS:

# Smart Enemies - always move towards Mario
# Color and Sound(stops when game stops) included

mario-game's People

Contributors

hellomasaya avatar

Watchers

James Cloos 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.