-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
33 lines (26 loc) · 749 Bytes
/
Copy pathmain.py
File metadata and controls
33 lines (26 loc) · 749 Bytes
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
# _________________________________________________
#| |
#| Projet NSI : MAXIME BECK ; NOAH GOSCINIAK |
#|_________________________________________________|
#
from player import *
from score import *
from reactionTime import *
p1 = Player("Max")
p2 = Player("Noah")
p3 = Player("Luc")
rtMax = ReactionTime(p1)
rtMax.game()
maxScore = Score(p1)
maxScore.upElo(rtMax.score)
maxScore.setName()
maxScore.writeScore("Reaction Time",rtMax.score)
rtNoah = ReactionTime(p2)
rtNoah.game()
noahScore = Score(p2)
noahScore.upElo(rtNoah.score)
noahScore.setName()
noahScore.writeScore("Reaction Time",rtNoah.score)
rt2Noah = ReactionTime(p2)
rt2Noah.game()
noahScore.writeScore("Test",rt2Noah.score)