Skip to content

Cloning brasfoot in Python with Hexagonal Architecture

Notifications You must be signed in to change notification settings

Iazzetta/brasfoot-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brasfoot clone

Cloning brasfoot in Python with Hexagonal Architecture

game -> legend

  • Manager = tecnico (nós)
  • Defensor = zagueiro
  • Midfield = meio de campo
  • Attacker = atacante
  • Goalkeeper = goleiro

game -> brain

    1. Define team who starts with the ball
    1. Choose a random Midfield to start with the ball
    1. Player pass ball order:
    • Goalkeeper -> Defensor || shoot to middle/Attacker
    • Defensor -> Midfield
    • Midfield -> Attacker
    • Attacker -> Shoot to the goal
    1. Pass/Shoot Intercepts:
    • Midfield intercept pass Midfield
    • Defensor intercept shoot Attacker
    • Attacker intercept pass Defensor
    • Goalkeeper defends shoot Attacker
    1. Addictional points of players (max points: 30):
    • pass_points (All)
    • shoot_points (Attacker)
    • defense_goal_points (Goalkeeper)
    • intercept_pass (Defensor, Midfield, Attacker)

run

sh run.sh

tests

sh tests.sh

Releases

No releases published

Packages

No packages published