Solo CLF project about the creation of the FlickColor game in Python with very precise instructions.

Overview

NSI - Projet n°1 [Classe de terminale]

Instructions du projet

Règles du FlickColor

Le but du FlickColor est de faire se propager les couleurs sur une grille jusqu'à ce qu'il n'en reste plus qu'une à la fin du jeu. Le joueur doit pouvoir remplir la grille d'une seule couleur en un minimum de coups.

image

Projet

  • Nous devons utiliser TKinter pour l'interface graphique.
  • Notre programme devra comporter:
    • Un écran d'accueil pour démarrer le jeu
    • Un écran de jeu
    • Un écran de sortie à la fin du jeu
  • Notre programme devra proposer deux niveaux de jeu:
    • Niveau 1 : Grille 5*5
    • Niveau 2 : Grille 10*10
  • Nous considérerons qu'une grille de jeu est une liste de listes, et que chaque ligne de la grille de jeu est une liste de couleurs.
  • Les cases de la grille de jeu peuvent prendre jusqu'à 6 couleurs différentes.
  • Les grilles de jeu sont générées de manière aléatoire et sont différentes à chaque partie.
  • L'écran de jeu doit posséder une zone d'affichage du nombre de coups joués. Cet affichage doit se mettre à jour chaque fois que le joueur choisit une nouvelle couleur.
  • Nous devons utiliser une foncion récursive pour "propager la couleur" en suivant ce schéma:
def colorier(grille,i,j,couleur_initiale,couleur_finale):
  """ Propage, si la case i,j est de couleur initiale,
  la couleur finale à la case i,j et à toutes les cases adjacentes
  de même couleur initiale.
  Deux cases adjacentes sont côte à côte soit horizontalement, soit verticalement.
  """
  • Notre code doit être structuré avec des fonctions de taille raisonnable.
  • Notre projet devra adopter une approche modulaire, et nous devons séparer la partie graphique de la partie fonctionnelle.

Critères

  • Résultat final
  • Implication en classe durant les séances de projet
  • Respect des consignes
  • Organisation et propreté du code informatique
  • Présence de commentaires dans le code (Avec #)
  • Spécifications des fonctions ("""...""")
  • Rapport clair avec un contenu significatif

Remise du projet

Fichier zip contenant les programmes et le rapport pour le 15/11/2021.

Owner
COZAX
Young French javascript oriented developer born in 2004.
COZAX
Email guesser - Guessing BF email based on emailGuesser by WhiteHatInspector

email_guesser Guessing BF email based on emailGuesser by WhiteHatInspector (http

4 Dec 25, 2022
Meu primeiro jogo desenvolvido em Python, usado o módulo do Pygame

📖 Sobre Esse repositório é dedicado ao meu primeiro jogo feito em Python, utilizando o módulo do pygame. O jogo foi desenvolvido seguindo o tutorial

Michael Douglas 0 May 06, 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
A Simple Scissor Paper Rock Game On Python Using Pygame.

Scissor Paper Stone Game Using Pygame This is a simple GUI based game made on pygame python. Installation Run code on your machine: git clone https:

Dipin Adhikari 0 Mar 21, 2022
Launch any Heroic-Games-Launcher game using bash scripts without having to open Heroic.

HeroicBashLauncher Ever wanted to launch your EGS games installed through Heroic Games Launcher directly from the terminal, Lutris or any other fronte

288 Dec 27, 2022
Vitrix is an open-source FPS video game coded in python

Vitrix is an open-source FPS video game coded in python Table of contents Usage Game Server Installing Requirements Hardware Requirements Software Req

Vitrix 1 Feb 13, 2022
TicTacToc - Simple TicTacToc game played by minimax algorithm

TicTacToc simple TicTacToc game played by minimax algorithm. This app is based o

5 Apr 05, 2022
Among AIs is a (prototype of) PC Game we developed as part of the Smart Applications course @ University of Pisa.

Among AIs is a PC Game we developed as part of the Smart Applications course @ Department of Computer Science of University of Pisa, under t

Gabriele Pisciotta 5 Dec 05, 2021
Allows you to email people wordle spoilers. Very beta, not as many features

wordlespoiler Allows you to email people wordle spoilers. Very beta, not as many features How to Use 1.) Make a new gmail account. Go to settings (Man

0 Jan 04, 2023
Backend application for a game to classify waste for recycling

Waste Organizer Game Backend application used in a game to classify trash for recycling. What is waste organizer game? It is a game developed during t

10 Jun 13, 2021
Space shooter being built for PyWeek 32

Axium Humanity's expansion into space had lasted centuries by the time we encountered the vicious Threx. The Threx adopted a single, religious mission

Daniel Pope 6 Oct 28, 2021
Jogo da velha escrito em python para 1 ou 2 jogadores

O Jogo da Velha Esse jogo da velha foi desenvolvido por mim em python, como um desafio de programar um jogo da velha em menos de 24 horas, no qual o c

Gabriel Castelo Branco 5 Jun 18, 2021
Simple python program to simulate Conway's game of life with custom variables.

ConwaysGameOfLife Simple python program to simulate Conway's game of life with custom variables. Custom Variables Grid-size : Change the size of the p

davidgasinski 1 Oct 28, 2021
This is game 2048 created with moudle of python tkinter and OOP.

Game 2048 This is game 2048 created with moudle of python tkinter and OOP. This game build on classes. For start this game run: If you have python ver

0 Nov 02, 2021
Overview: copain, your friendly AI framework to learn and play games

Overview: copain, your friendly AI framework to learn and play games Interface fceux with python and run reinforcement learning. Compatibility Current

fcharras 1 Dec 16, 2021
XO game with server, client and visualizer for AI bots.

XO game with server, client and visualizer for AI bots.

Ali 4 Jul 14, 2022
Console 2D GameEngine {C2DGE} [0.1.0]

Console 2D GameEngine {C2DGE} [0.1.0] By Grosse pastèque#6705 The Project's Goal : This projects was just a challenge so if you have bad reviews, it's

Big watermelon 1 Nov 06, 2021
This is text based adventure game

CHOOSE-YOUR-OWN-ADVENTURE This is text based adventure game CONTRIBUTORS Aditya binukumar Srishti Sharma Shiva Tripathi Tanishq Tanwar ABOUT Theme: Ho

Tanishq Tanwar 3 May 31, 2022
Code for an arcade pop-a-shot style basketball game on Raspberry Pi

Basketball-Game Code for an arcade pop-a-shot style basketball game on Raspberry Pi, made over the course of winter break 2022. How To Run: Running th

Seth Reis 1 Jan 21, 2022
Script to remap minecraft 1.12 java classes.

Remapper Script to remap minecraft 1.12 java classes. Usage You must have Python installed. You must have the script, mappings, and files / folders in

8 Dec 02, 2022