🕹️ Jeu Azul en Python avec 4 IAs 🤖 implémentées, jouable de 1 à 4 joueurs

Overview

Projet jeu Azul

🕹️ Jeu Azul en Python avec 4 IAs 🤖 implémentées, jouable de 1 à 4 joueurs

Par : Berachem MARKRIA et Tristan MARTINEZ
Projet réalisé grâce à : Carine PIVOTEAU, Anthony LABARRE et Camille COMBE (nous les remercions tous les 3 🙂 )
Nous avons implementés le jeu de plateau Azul en Python.

Ce projet a débuté en Octobre 2021 et s'est terminé en début Janvier 2022. Soit une durée d'environ 3 mois. Il a pu avoir lieu grâce à nos enseignants de l'Université Gustave Eiffel (anciennement Paris-Est, Marne-la-Vallée).

Implémentation

Création de 4 IAs différentes et un semblant d'Automat. Pour satisfaire tous les types de joueurs ;) On pourra choisir le type des IAs qu'on souhaite affronter après avoir choisi un mode de jeu contenant au moins une IA.

Possibilité de changer le patern des tuiles dans la partie en écrivant dans un fichier patern_tuiles.txt la liste des couleurs que l'on souhaite Possibilité de changer l'ordre des couleurs dans les murs en écrivant dans un fichier config_mur.txt l'ordre des couleurs (en liste)

IA "difficile"

elle cherche la meilleurs option dans les tuiles proposer c'est à dire celle qui va lui donné le meilleur score sur le coup meilleur_coup enregistre le score, la ligne, la couleur de la tuile le numéro de la fabrique et si elle se trouve dans une fabrique ou dans la zone du centre (si c'est la zone du centre alors le numéro de fabrique sera 10)

IA "long"

elle choisira le maximum de tuiles possibles et les placera le plus bas possible dans sa ligne motif

IA "facile"

elle mettra les tuiles de manière aléatoire

IA "rapide"

elle prendra le moins de tuiles possible et les placera le plus haut possible dans sa ligne motif

~~Automat

Il s'agit d'une IA un peu différente qui commence constamment, son plancher n'est jamais remplie, il n'y a pas de calcul de points final en fin de partie néanmoins le calcul des point à chaque tour reste effectif; la partie s'arrête quand un joueur a au moins 3 lignes pleines ET 5 tuiles de la même couleur.

Tester le Code

Voici ce que cela donne lorsque qu'on lance le fichier menu.py

python3 menu.py

On a implémenté un menu où l'on peut choisir parmis quelques modes de jeu proposés :

Menu

Voici un exemple lorsqu'on lance le mode jeu Regarder :

Game

Merci d'avoir feuilleté notre projet, ça nous fait chaud au ❤️ !

Owner
Berachem Markria
Passionné d'Informatique et de Science mais qui manque encore de beaucoup d'expérience ! :p
Berachem Markria
MiTM proxy server for Darza's Dominion

Midnight A MiTM proxy server for Darza's Dominion, PC version. See this video for a demonstration of godmode: https://youtu.be/uoqvSxmnCJk How to use

2 Oct 24, 2022
A Pygame Hangman Game coded in Python 3. Run Hangman.py in a terminal if you have Python 3

Hangman A Pygame Hangman Game coded in Python 3. Run python3 Hangman.py in a terminal if you have Python 3.

1 Dec 24, 2022
This is an interactive MiniMap made with Python, PyQT5 & Pytesseract for the game

NWMM-New-World-MiniMap Features: Automatically grabs position from "New World" Instance Live visualisation of player position on MiniMap Circular & re

Nezzquikk 18 Sep 21, 2022
A two-player strategy game played on a rectangular grid made up of smaller square cells of chocolate 🍫 or cookies 🍪

Chomp Game ©️ Chomp is a two-player strategy game played on a rectangular grid made up of smaller square cells of chocolate 🍫 or cookies 🍪 , which c

Farivar Tabatabaei 2 Feb 02, 2022
Tic-Tac-Toe Game in python3 Tkinter

Tic Tac Toe Tic-Tac-Toe Game in python3 Tkinter About: Tic Tac Toe or Noughts and Crosses as called in British is a pencil and paper game for two play

Sai Swarup Yakkala 5 Nov 06, 2022
pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame 5.6k Jan 01, 2023
A set of tools to help you with running a Project Zomboid game server (Linux only)

Project Zomboid Server Tools A set of tools to help you with running a Project Zomboid game server (Linux only). Features Install Project Zomboid Dedi

24 Dec 25, 2022
Ultimaze est un jeu en 2.5D, réalisé dans le cadre d'un projet de NSI.

Ultimaze Ultimaze est un jeu en 2.5D, réalisé dans le cadre d'un projet de NSI. La consigne était d'utiliser la librairie pygame pour créer un jeu en

parlabarbedeMerlin 3 Sep 17, 2022
This is a basic virtual quiz game using opencv-python

Basic Virtual-Quiz-Game This is a basic structure of a virtual quiz game using opencv-python. As the camera window opens up we can see the questions a

2 Dec 11, 2021
A "guess the number" game on a GUI interface using Tkinter library🙂

A "guess the number" game on a GUI interface using Tkinter library🙂

Arsalan 2 Feb 01, 2022
Continuous form of the game Wits & Wagers

wager Continuous form of the game Wits & Wagers Requires: Pygame, Pygame_gui

1 Nov 22, 2021
A basic quiz game using Python

QuizGame A basic quiz game using Python Passwords for quizzes (NO CAPS LOCK!): -ryzermattishandsome -canisleepwithyou Before using this, please make s

Austin 1 Nov 12, 2021
Turn NY Times crosswords into Across Lite files

NYT Crossword to Puz A windows program to convert NY Times crosswords from the web to Across Lite compatible files. To run this, first download and de

31 Oct 11, 2022
Python Knots and Crosses game, with customizable markers and more!

Knot-and-Crosses Python Knots and Crosses game, with customizable markers and more! Features: Ability to change your marker Ability to change how many

4 Nov 07, 2021
AI plays games with python

AI-plays-games- To use it, you first need to create an img file and save the pic

Murat Ali Avcu 7 Oct 16, 2022
Chess turnament organizer (short construct concept)

Turnament Organizer Chess turnament organizer (short construct concept). It is my hobby app I want to write to support lightweight tool for smart roun

kkuba91 3 Dec 16, 2022
This is a text-based snake and ladder game .

This is a text-based snake and ladder game .

AKSHAI KRISHNA A 1 Nov 01, 2021
A puzzle game coded entirely in Python.

Pyzzle A puzzle game coded entirely in Python. This is a school project created by me, Mohit Singh. The .exe file, created from the main.py script, is

Mohit Singh 1 Mar 19, 2022
Pygame for humans (pip install hooman) (25k+ downloads)

hooman ~ pygame for humans pip install hooman join discord: https://discord.gg/Q23ATve The package for clearer, shorter and cleaner PyGame codebases!

Abdur-Rahmaan Janhangeer 31 Nov 08, 2022
FlappyBird game with python and pygame

FlappyBird game with python and pygame

Mohammad Dori 4 Jul 15, 2022