Commencé à implémenter les plis

This commit is contained in:
julien committed 2026-10-06 15:54:57 +02:00
1 parent 3cdcec55b2
commit de4c374f33
4 files changed
+23 -17

No files matched your search

+2
View File
@@ -2,6 +2,7 @@ class TerminalUI
def choose_card(player)
player.hand.each_with_index do |card, index|
puts "#{index + 1}. #{card}"
puts
end
print "Choose a card: "
@@ -12,6 +13,7 @@ class TerminalUI
def display_trick_winner(player)
puts "#{player.name} wins the trick."
puts
end
def debug_game(game)