Coder Social home page Coder Social logo

moisemoussetafa / crystals_trucks_project Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 144 KB

CHACAL DIESEL - PROJET DE DEVELOPPEMENT COLABORATIF - Crystals vs Trucks Project

License: MIT License

Python 100.00%
github-actions automatisation collaboration python unit-testing yaml

crystals_trucks_project's Introduction

Crystals vs Trucks

Tests sur release-main codecov

Groupe :

  • Léo CHAMONT-HARO
  • Moïse MOUSSETAFA
  • Mattéo PENAUD

Projet

Réalisation d'un code permettant de résoudre le jeu suivant : https://github.com/vpoulailleau/crystal_trucks.
Le fichier game.py doit être récupéré du jeu original et ne doit pas être modifié.
Le code réalisé doit générer un fichier .txt qui peut être injecté dans le viewer.py du jeu original afin de le résoudre.

Obligations

  • Python 3.10 sur PC
  • Coopération sur GitHub
    • Utilisation de plusieurs branches
    • Utilisation de pull requests
  • Fichier game.py non modifiable
  • Tests
    • Qualimétrie
    • Automatisation (intégration continue)

Utilisation

⚠️ Si les commandes à executer dans un terminal ne fonctionnent pas avec python3 et pip3, réessayer sans le chiffre 3.

Cloner les répertoires nécessaires :

git clone https://github.com/vpoulailleau/crystal_trucks.git

git clone https://github.com/MoiseMoussetafa/crystals_trucks_project.git

Depuis le dossier crystals_trucks_project :

python3 main.py [seed] [nom_fichier.txt]

📓seed : nombre correspondant à la graine de randomisation afin d'obtenir une carte de jeu semi-aléatoire
📓nom_fichier.txt : nom du fichier à choisir pour le document texte généré par le main.py

Copier le fichier généré nommé [nom_fichier.txt] dans le dossier crystal_trucks précédemment cloné. Puis dans ce dernier :

pip3 install arcade serial
python3 viewer.py -i [nom_fichier.txt]

Une interface graphique apparait alors et présente le jeu.
Les fonctionnalités du viewer.py sont disponibles sur le git correspondant.


Sources principales

crystals_trucks_project's People

Contributors

leochams avatar matteo-penaud avatar moisemoussetafa avatar

Stargazers

 avatar

Watchers

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