Upload New File

parent 08576349
@startuml
actor User as user
participant "AuthService" as auth
participant "VocabularyExercise" as exercise
participant "UserProfile" as profile
participant "AchievementSystem" as achievements
participant "LearningMaterial" as material
user -> auth: Ввод email/пароля
auth --> user: Проверка данных
activate auth
auth -> profile: Запрос данных пользователя
profile --> auth: Подтверждение
deactivate auth
user -> exercise: Запуск тренажера
activate exercise
exercise -> material: Запрос словарного материала
material --> exercise: Возврат слова/перевода
loop Повторение до правильного ответа
user -> exercise: Ввод перевода
exercise -> exercise: Проверка ответа
alt Ответ верный
exercise -> profile: Обновить прогресс (+XP)
exercise -> achievements: Уведомить о выполнении
achievements -> achievements: Проверить условия ачивок
achievements -> user: Разблокировать ачивку (если выполнено)
else Ответ неверный
exercise --> user: "Попробуйте еще раз"
end
end
exercise --> user: "Успешно завершено!"
@enduml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment