This project is a part of the Becode.org AI Bootcamp programme. The task is to build a basis for a card game by using OOP in Python.
For the moment, only the basic functionalities have been implemented:
- A deck of cards is created for two players.
- Cards are shuffled and distributed among the two players. Each player plays a card until there is no cards left.
- Make a good usage of classes.
- Use Object-Oriented-Programming (OOP).
- Use imports in a clean way.
- Use a clean architecture.
- Structure a project.
- Go deeper in object inheritance.
Card Game Challenge
│
│ README.md :explains the project
│ main.py :Python script file necessary to initialize the game
│
│__
│ utils :directory contains all modules required to run the game
│ │
│ │ card.py :Python script file with the Symbol and Card classes
│ │
│ │ game.py :Python script file with the Board class
│ │
│ │ player.py :Python script file with the Player and Deck classes
git clone
this repository into your local environment.
In order to start the game run main.py in your command line.
October 2021
Time limit: 3 days
This is the first OOP project within the Becode.org AI Bootcamp to test our understanding of the OOP concept in Python (approx. 3 weeks from the start of the programme). The full duration of the programme is 7 months.
I am currently participating in the Becode.org AI Bootcamp to upskill into a career in data science.