Skip to content

radugheo/Football-Manager

Repository files navigation

Football Manager

Tema 0

  • Nume proiect (îl puteți schimba ulterior)
  • Scurtă descriere a temei alese, ce v-ați propus să implementați

Tema 1

Cerințe

  • definirea a minim 3-4 clase folosind compunere
  • constructori de inițializare
  • pentru o clasă: constructor de copiere, operator= de copiere, destructor
  • operator<< pentru toate clasele
  • cât mai multe const
  • implementarea a minim 3 funcții membru publice pentru funcționalități specifice temei alese
  • scenariu de utilizare a claselor definite (crearea de obiecte și apelarea funcțiilor membru publice în main)
  • tag de git: de exemplu v0.1
  • serviciu de integrare continuă (CI); exemplu: GitHub Actions

Tema 2

Cerințe

  • separarea codului din clase în .h (sau .hpp) și .cpp
  • moșteniri
    • funcții virtuale (pure), constructori virtuali (clone)
    • apelarea constructorului din clasa de bază
    • smart pointers
    • dynamic_cast
  • suprascris cc/op= pentru copieri/atribuiri corecte, copy and swap
  • excepții
    • ierarhie proprie (cu baza std::exception sau derivată din std::exception)
    • utilizare cu sens: de exemplu, throw în constructor, try/catch în main
  • funcții și atribute static
  • STL
  • cât mai multe const
  • tag de git: de exemplu v0.2

Tema 3

Cerințe

  • 2 șabloane de proiectare (design patterns)
  • o funcție șablon (template) cu sens; minim 2 instanțieri
  • o clasă șablon cu sens; minim 2 instanțieri
  • o specializare pe funcție/clasă șablon
  • tag de git: de exemplu v0.3 sau v1.0

Football Manager

How to play

After you choose your team, you can adjust the squad and the desired tactics for the next game, sell or buy players from the transfer market, and of course, simulate the next match.

If you are in top 6 when the regular season ends, you qualify for the Play-Offs. Else, it's the Play-Outs.

About

The results of the matches are not entire randomly generated. They depend on the squad and tactics chosen for every match. I tried to get as close as I could to get realistic scores.

Players'value is calculated based on their OVR and age. The younger the player, the higher the price. Of course, the OVR matters too.

Resources

  • Effolkronium Random - Random for modern C++ with convenient API
  • FifaCM - for player stats
  • Google Pictures for backgrounds and team logos.

About

This is my university project for the OOP class.

Resources

Stars

Watchers

Forks

Packages

No packages published