🕹️ 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
AI based assitant for minecarft

Minecraft_AI_assistant AI-based assistant for Minecraft There are 4 steps to build 1-I'm using collecting_data.png as a structure to take shots with c

Murat Ali Avcu 13 Oct 16, 2022
Experimental Brawl Stars v37.222 server emulator written in Python.

Brawl Stars v37 Experimental Brawl Stars v37.222 server emulator written in Python. Requirements: Python 3.7 or higher colorama Running the server In

13 Oct 08, 2021
This is the card game like HearthStone and Magic

Territory War How to use it use pip3 to install django and channels: pip3 install Django pip3 install channels go to CardGame/first/consumers.py and g

Caesar 3 Oct 24, 2022
PyCharge is an open-source computational electrodynamics Python simulator

PyCharge PyCharge is an open-source computational electrodynamics Python simulator that can calculate the electromagnetic fields and potentials genera

Matthew Filipovich 28 Jan 03, 2023
MinMax Algo , Python

Write a PYTHON program to play the game of TIC-TAC-TOE on a 3×3 board with alternate inputs from user and computer.

Naman Anand 1 Nov 26, 2021
A shooter game.

Screenshots Installation GNU/Linux Go to the Releases tab. Download InfiniteShooter.flatpak from the latest version of InfiniteShooter Open the termin

PastThePixels 13 Dec 01, 2022
N-Queens game made using pygame library

N-Queens N-Queens game using pygame for AIML201 Testing: 1. git clone https://github.com/python-game-dev/N-Queens.git 2. cd N-Queens 3. python main.py

1 Sep 24, 2021
Tic-Tac-Toe - Tic-Tac-Toe game build With Python

Tic Tac Toe This game is very popular amongst all of us and even fun to build as

PyLaboratory 0 Feb 06, 2022
A 16x16 clone of Minecraft Classic, written in Python with the Ursina Engine

VoxelCraft A 16x16 clone of Minecraft Classic, written in Python with the Ursina Engine Features:Trees, Water(But there's no gravity, so if you break

2 Jun 23, 2022
Multi minecraft server helper for python

呐 Yuki 您的群组服操作小助手。 使用Python3编写。使用 .yaml 配置文件记录子服,配合Screen管理Linux系统上的Minecraft子服,支持MCDR子服与非MCDR子服。 功能: 开启所有子服 关闭所有子服 重载所有子服MCDR 重载所有子服ChatBridge 使用方法:

3 Mar 17, 2022
Breakout-KD - A fantastic game created in python with pygame ✌️

Breakout-KD About This Game Breakout-KD is a fantastic breakout game. It's a python based game officialy made by me on december holiday. This game wor

Keep Distance 1 Jan 01, 2022
A pure python implementation of a solver for the popular game wordle.

A pure python implementation of a solver for the popular game wordle.

1 Oct 06, 2022
Snake game made in python with the pygame library.

Pygame snake Snake game made in python with the pygame library. Requirements pip pygame Pygame Installation On the command line, type: pip install pyg

Ayza 3 Oct 02, 2022
Historical battle simulation package for Python

Jomini v0.1.4 Jomini creates military simulations by using mathematical combat models. Designed to be helpful for game developers, students, history e

Ümit Kaan Usta 36 Dec 08, 2022
Tictactoe py tkinter canvas - Tic Tac Toe written in Python 3 with tkinter mainly using canvas

Python 3 Tic Tac Toe with tkinter This is a tkinter version of my Tic Tac Toe ga

Bojan Adzic 1 Jan 09, 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
Useful tools for Minecraft worlds such as remove unused chunks, find blocks or entities.

Useful tools for Minecraft worlds such as removing unused chunks and finding blocks, command blocks or entities.

Rapha149 1 Feb 17, 2022
Rock-Paper-Scissors - Rock Paper Scissors With Python

Rock-Paper-Scissors The familiar game of Rock, Paper, Scissors is played like th

Lateefah Ajadi 0 Jan 15, 2022
Hagia is a 2D game engine and toolset for Python.

HAGIA What is Hagia? Hagia is a 2D game engine and toolset for Python. Hagia has

star 3 Jun 01, 2022
Un semplice Snake game , come negli anni 90!

Project-SnakeGame Un semplice Snake game , come negli anni 90! ITA VI porto un semplice giochino per i nostalgini degli anni 90 , ispirato al vecchio

Matt K Lawrence 1 Oct 17, 2021