Skip to content

Commit

Permalink
🎨 update interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
velizartodorov committed Oct 19, 2024
1 parent 6e34d59 commit 9e578b5
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 101 deletions.
18 changes: 9 additions & 9 deletions src/main/kotlin/vending_machine/intefaces/CoinsInterface.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ object CoinsInterface : UserInterface {
override fun print(order: Order.Builder) {
println(
"""
====================================================================================
███████╗███╗ ██╗████████╗███████╗██████╗ ██████╗ ██████╗ ██╗███╗ ██╗███████╗
██╔════╝████╗ ██║╚══██╔══╝██╔════╝██╔══██╗ ██╔════╝██╔═══██╗██║████╗ ██║██╔════╝
█████╗ ██╔██╗ ██║ ██║ █████╗ ██████╔╝ ██║ ██║ ██║██║██╔██╗ ██║███████╗
██╔══╝ ██║╚██╗██║ ██║ ██╔══╝ ██╔══██╗ ██║ ██║ ██║██║██║╚██╗██║╚════██║
███████╗██║ ╚████║ ██║ ███████╗██║ ██║ ╚██████╗╚██████╔╝██║██║ ╚████║███████║
╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝╚══════╝
====================================================================================
Price: ${Drink.getDrink(order.drink).price} cents
====================================================================================
███████╗███╗ ██╗████████╗███████╗██████╗ ██████╗ ██████╗ ██╗███╗ ██╗███████╗
██╔════╝████╗ ██║╚══██╔══╝██╔════╝██╔══██╗ ██╔════╝██╔═══██╗██║████╗ ██║██╔════╝
█████╗ ██╔██╗ ██║ ██║ █████╗ ██████╔╝ ██║ ██║ ██║██║██╔██╗ ██║███████╗
██╔══╝ ██║╚██╗██║ ██║ ██╔══╝ ██╔══██╗ ██║ ██║ ██║██║██║╚██╗██║╚════██║
███████╗██║ ╚████║ ██║ ███████╗██║ ██║ ╚██████╗╚██████╔╝██║██║ ╚████║███████║
╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝╚══════╝
====================================================================================
Price: ${Drink.getDrink(order.drink).price} cents
""".trimIndent()
)
}
Expand Down
30 changes: 15 additions & 15 deletions src/main/kotlin/vending_machine/intefaces/DrinkInterface.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ object DrinkInterface : UserInterface {
override fun print(order: Order.Builder) {
println(
"""
====================================================================
██████╗ ██╗ ██████╗██╗ ██╗ ██████╗ ██████╗ ██╗███╗ ██╗██╗ ██╗
██╔══██╗██║██╔════╝██║ ██╔╝ ██╔══██╗██╔══██╗██║████╗ ██║██║ ██╔╝
██████╔╝██║██║ █████╔╝ ██║ ██║██████╔╝██║██╔██╗ ██║█████╔╝
██╔═══╝ ██║██║ ██╔═██╗ ██║ ██║██╔══██╗██║██║╚██╗██║██╔═██╗
██║ ██║╚██████╗██║ ██╗ ██████╔╝██║ ██║██║██║ ╚████║██║ ██╗
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝
===================================================================
Americano: 1 Cafe Au Lait: 2 Cappuccino: 3
Cortado: 4 Decaf: 5 Espresso: 6
Flat White: 7 Iced coffee: 8 Irish coffee: 9
Latte: 10 Macchiato: 11 Mocha: 12
Tea: 13 Water: 14
===================================================================
PICK A DRINK (1 - 14):
====================================================================
██████╗ ██╗ ██████╗██╗ ██╗ ██████╗ ██████╗ ██╗███╗ ██╗██╗ ██╗
██╔══██╗██║██╔════╝██║ ██╔╝ ██╔══██╗██╔══██╗██║████╗ ██║██║ ██╔╝
██████╔╝██║██║ █████╔╝ ██║ ██║██████╔╝██║██╔██╗ ██║█████╔╝
██╔═══╝ ██║██║ ██╔═██╗ ██║ ██║██╔══██╗██║██║╚██╗██║██╔═██╗
██║ ██║╚██████╗██║ ██╗ ██████╔╝██║ ██║██║██║ ╚████║██║ ██╗
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝
===================================================================
Americano: 1 Cafe Au Lait: 2 Cappuccino: 3
Cortado: 4 Decaf: 5 Espresso: 6
Flat White: 7 Iced coffee: 8 Irish coffee: 9
Latte: 10 Macchiato: 11 Mocha: 12
Tea: 13 Water: 14
===================================================================
PICK A DRINK (1 - 14):
""".trimIndent()
)
}
Expand Down
22 changes: 11 additions & 11 deletions src/main/kotlin/vending_machine/intefaces/MilkInterface.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ object MilkInterface : UserInterface {
override fun print(order: Order.Builder) {
println(
"""
==========================================================
███╗ ███╗██╗██╗ ██╗ ██╗
████╗ ████║██║██║ ██║ ██╔╝
██╔████╔██║██║██║ █████╔╝
██║╚██╔╝██║██║██║ ██╔═██╗
██║ ╚═╝ ██║██║███████╗██║ ██╗
╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚═╝
==========================================================
NONE: 1 LOW: 2 MEDIUM: 3 HIGH: 4 MAX: 5
==========================================================
Pick amount (1-5):
==========================================================
███╗ ███╗██╗██╗ ██╗ ██╗
████╗ ████║██║██║ ██║ ██╔╝
██╔████╔██║██║██║ █████╔╝
██║╚██╔╝██║██║██║ ██╔═██╗
██║ ╚═╝ ██║██║███████╗██║ ██╗
╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚═╝
==========================================================
NONE: 1 LOW: 2 MEDIUM: 3 HIGH: 4 MAX: 5
==========================================================
Pick amount (1-5):
""".trimIndent()
)
}
Expand Down
22 changes: 11 additions & 11 deletions src/main/kotlin/vending_machine/intefaces/StrengthInterface.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ object StrengthInterface : UserInterface {
override fun print(order: Order.Builder) {
println(
"""
=====================================================================
███████╗████████╗██████╗ ███████╗███╗ ██╗ ██████╗ ████████╗██╗ ██╗
██╔════╝╚══██╔══╝██╔══██╗██╔════╝████╗ ██║██╔════╝ ╚══██╔══╝██║ ██║
███████╗ ██║ ██████╔╝█████╗ ██╔██╗ ██║██║ ███╗ ██║ ███████║
╚════██║ ██║ ██╔══██╗██╔══╝ ██║╚██╗██║██║ ██║ ██║ ██╔══██║
███████║ ██║ ██║ ██║███████╗██║ ╚████║╚██████╔╝ ██║ ██║ ██║
╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
=====================================================================
LOW: 1 MEDIUM: 2 HIGH: 3 MAX: 4
=====================================================================
Pick strength (1-4):
=====================================================================
███████╗████████╗██████╗ ███████╗███╗ ██╗ ██████╗ ████████╗██╗ ██╗
██╔════╝╚══██╔══╝██╔══██╗██╔════╝████╗ ██║██╔════╝ ╚══██╔══╝██║ ██║
███████╗ ██║ ██████╔╝█████╗ ██╔██╗ ██║██║ ███╗ ██║ ███████║
╚════██║ ██║ ██╔══██╗██╔══╝ ██║╚██╗██║██║ ██║ ██║ ██╔══██║
███████║ ██║ ██║ ██║███████╗██║ ╚████║╚██████╔╝ ██║ ██║ ██║
╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
=====================================================================
LOW: 1 MEDIUM: 2 HIGH: 3 MAX: 4
=====================================================================
Pick strength (1-4):
""".trimIndent()
)
}
Expand Down
22 changes: 11 additions & 11 deletions src/main/kotlin/vending_machine/intefaces/SugarInterface.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ object SugarInterface : UserInterface {
override fun print(order: Order.Builder) {
println(
"""
==========================================================
██████╗██╗ ██╗ ██████╗ █████╗ ██████╗
██╔════╝██║ ██║██╔════╝ ██╔══██╗██╔══██╗
███████╗██║ ██║██║ ███╗███████║██████╔╝
╚════██║██║ ██║██║ ██║██╔══██║██╔══██╗
███████║╚██████╔╝╚██████╔╝██║ ██║██║ ██║
╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
==========================================================
NONE: 1 LOW: 2 MEDIUM: 3 HIGH: 4 MAX: 5
==========================================================
Pick amount (1-5):
==========================================================
██████╗██╗ ██╗ ██████╗ █████╗ ██████╗
██╔════╝██║ ██║██╔════╝ ██╔══██╗██╔══██╗
███████╗██║ ██║██║ ███╗███████║██████╔╝
╚════██║██║ ██║██║ ██║██╔══██║██╔══██╗
███████║╚██████╔╝╚██████╔╝██║ ██║██║ ██║
╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
==========================================================
NONE: 1 LOW: 2 MEDIUM: 3 HIGH: 4 MAX: 5
==========================================================
Pick amount (1-5):
""".trimIndent()
)
}
Expand Down
Loading

0 comments on commit 9e578b5

Please sign in to comment.