Git Product home page Git Product logo

flappyv2's Introduction

Description

Le projet Flappy Bird Simplifié est une version simplifiée du célèbre jeu Flappy Bird, dans lequel le joueur doit éviter les obstacles en faisant voler ou descendre un oiseau en tapotant sur l'écran mobile. Notre version du jeu consiste à faire voler ou descendre un ovale représentant l'oiseau en cliquant avec la souris afin d'éviter de toucher une ligne brisée.

Note

Se projet est une amélioration du FlappyPPP se trouvant sur mon github dans le repo du même nom,FlappyPPP est donc à ignorer.

Le jeu a été implémenté en Java en utilisant la bibliothèque Swing pour l'interface graphique.

Utilisation

Mode IDE

  • Importez le projet dans votre IDE
  • Sélectionnez la classe Main à la racine du projet
  • Cliquez sur « Run as Java Application »

Mode compilateur

  • Cloner ou télécharger le dépôt GitHub sur votre ordinateur.
  • Ouvrir une ligne de commande et naviguer jusqu'au répertoire du projet en utilisant :
cd C:/CHEMIN
  • Compiler le code source en utilisant la commande :
javac main.java
  • Lancer le jeu en utilisant la commande :
java main

Mode .jar exécutable

  • Double-cliquez sur l’icône du fichier main.jar

Fonctionnement

  • Le but du jeu est de faire voler l'ovale en évitant de toucher la ligne brisée. Le joueur peut faire voler ou descendre l'ovale en cliquant sur la fenêtre.

Architecture MVC

Le modèle MVC (Modèle-Vue-Contrôleur) a été utilisé pour organiser le code. Les packages sont organisés de la manière suivante :

  • Modèle : Etat.java Parcours.java
  • Vue : Affichage.java
  • Contrôleur : Avancer.java Control.java Voler.java

Auteur

Moi même.

flappyv2's People

Contributors

rokatg avatar

Stargazers

 avatar Ilan Aliouchouche avatar Marwan Khairallah 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.