20 lines
377 B
Python
20 lines
377 B
Python
import os
|
|
from pyjack.game import Game
|
|
|
|
|
|
if __name__ == "__main__":
|
|
os.system("clear")
|
|
print("pyjack by cerberus")
|
|
print("do you wanna play a round??")
|
|
|
|
# Create game instance with the player and dealer
|
|
game = Game()
|
|
|
|
# Play the game
|
|
try:
|
|
while True:
|
|
game.play_round()
|
|
|
|
except KeyboardInterrupt:
|
|
print("End Program")
|