Git Product home page Git Product logo

kollision's Introduction

Kollision

This is one of my very first school project, made with Loric Blanchard.

You can find the original subject here.

Note that I didn't modify the code, contrary to the PPM-Visualiser and the ASCII-ART projects. The code is the same as when we gave back the project, so it might be a bit ugly ...

Table of content

Features

  • Play the classic Kollision game
  • Ball collisions
  • Timer

How to install

# Clone git repository
git clone https://github.com/GouruRK/Kollision.git

# Go into the repo
cd Kollision

# Launch
python3 kollision.py

Optionnals arguments :

# Show help message
python3 kollision.py -h

# Game mode
python3 kollision.py -m <solide (default) | gazeux>

# Modify game intensity
python3 kollision.py -l <1 (default) | 2 | 3>

# Maximum speed for a ball
python3 kollision.py -max <argument>

# Minimum speed for a ball
python3 kollision.py -min <argument>

Note that windows user may type py instead of python3

Mode informations :

  • In game mode gazeux mean that red balls can go through each other
  • Game mode solide, there are collisions between balls

Game intensity :

  • Level 1 : new ball each 30s
  • Level 2 : new ball each 15s
  • Level 3 : new ball each 5s

Known issues

Some issues are :

  • In gazeux mode, balls can clip into each other
  • The collision between balls aren't eslastic. You can easily see it by changing the balls radius

Check out my other projects on github : Gouru.

kollision's People

Contributors

goururk 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.