-
Notifications
You must be signed in to change notification settings - Fork 0
/
teste_autres.py
57 lines (48 loc) · 1.38 KB
/
teste_autres.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 25 15:14:13 2018
@author: arian
"""
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 29 17:17:23 2018
@author: 3525837
"""
from soccersimulator import Vector2D, SoccerState, SoccerAction
from soccersimulator import SoccerTeam, Player, show_simu, Simulation
from soccersimulator.settings import *
from soccersimulator import Strategy
import module
import math
import autres.ortiz.ia as ia1
import autres.sebastien.footIA as ia2
import autres.austenprinciple.Foot as ia3
import autres.ahmedmelliti.module as ia4
import autres.caieddy.module as ia5
import autres.iamlisa.module as ia6
import autres.baladeur as ia7
import autres.aatarek.RepoSoccer_master.prog as ia8
import autres.chefifarouck.FarouckYann as ia9
#teste git#
### Creation d'une equipe
#
thon = module.get_team(4)
pyteam = ia3.get_team(4)
#
#
##pyteam.add("P1", module.DribleStrat())
##pyteam.add("P2", module.DefStratOpt())
##thon.add("P3", module.DefStratOpt())
##thon.add("P4", module.ShootStrat())
#
##Creation d'une partie
simu = Simulation(pyteam, thon)
#
##Jouer et afficher la partie
show_simu(simu)
#for i in range(30):
# thon = module.get_team(1)
# pyteam = ia1.get_team(1)
# simu = Simulation(pyteam, thon)
# simu.start()
# print("{} x {}".format(simu.get_score_team(1), simu.get_score_team(2)))