Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 1.57 KB

README.md

File metadata and controls

74 lines (45 loc) · 1.57 KB

python-projects

IMPORTANT: This is a work in progress and subject to major changes until all jobs are completed

An additional school project on how to intuitively create or develop 2 french games (ie. Le Pendu & Morpion 1v1) with Python

Description

Requirements

Jobs

The official deadline - according to intra - is on 22/10/2022 à 11h32. Here is a list of all the jobs for to this project, their main .py script, and curre nt status:

No. Name Script Status
1 Le Pendu pendu.py Done*
2 Morpion 1v1 morpion.py In progress

NOTE: (*) = still needs to be updated



Le Pendu

Installation

git clone https://github.com/abraham-ukachi/python-projects.git && cd python-projects

Example usage

python3 pendu.py

NOTE:

from pendu import PenduGame

pendu = PenduGame('en')
pendu.requestPlayerLevel()
pendu.startGame()

NOTE: 'en' stands for English. Use 'fr', to play the game in French

TODOs

  • Create a Parent class named Game
  • Rename PenduGame class to Pendu
  • Inherit the Game class from Pendu class
  • Add a replay feature to the game
  • Inform the player in plain text of his/her level change
  • Remove unnecessary comments
  • Optimize the code/script
  • Add some giphy captures to this README.md file

Morpion 1v1

Example usage

TODOs