-
Notifications
You must be signed in to change notification settings - Fork 0
/
story.py
46 lines (44 loc) · 1.45 KB
/
story.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
from codecool_class import CodecoolClass
from mentor import Mentor
from student import Student
from code import Code
from coffee_machine import CoffeeMachine
from management import Management
codecool_bp = CodecoolClass.generate_local()
#studenteket felsorolni, canvas szerint megcsinálni
print('Location: ', codecool_bp.location, '\nYear: ', codecool_bp.year, )
input()
print('\nMentors: ')
for i in range(len(codecool_bp.mentors)):
print(' ', codecool_bp.mentors[i].full_name)
input()
print('\nStudents:')
for i in range(len(codecool_bp.students)):
print(' ', codecool_bp.students[i].full_name)
input()
print("\nMentors arrive at school. They welcome students with a cheery smile\n")
input()
codecool_bp.mentors[1].check_energy_level(codecool_bp.students)
input()
codecool_bp.mentors[0].check_mood(codecool_bp.students)
input()
codecool_bp.students[3].use_EKI(codecool_bp.EKI_list[7])
input()
code = Code(215, "Fakkin' Hard Shit")
code.get_worked_on(codecool_bp.students[1])
input()
codecool_bp.students[3].use_EKI(codecool_bp.EKI_list[10])
input()
creepy = Management("Creepy", "Guy", 0, "male", 0, True)
creepy.creeping(codecool_bp.mentors, codecool_bp.students)
input()
coffeemachine = CoffeeMachine(70, 0, True, True)
coffeemachine.make_coffee()
input()
coffeemachine.get_filled_water()
input()
coffeemachine.make_coffee()
boda = Management("Boda", "Józsi", 0, "male", 0, True)
boda.change_life(codecool_bp.mentors, codecool_bp.students)
input()
print ("Happy End")