Share your repls and programming experiences
Bad war game in free time, don't judge. Press enter to draw.
it takes too long
It is, but the amount of cards in a normal deck while playing war. @YixuanWang1
i dont mean the game is long, what i mean is that it takes too long to scroll dowwn @Kurplunk100
Do you know if there is a way to delete the previous line after you press enter? @YixuanWang1
To clear the screen you can use:import osos.system("clear")
@Kurplunk100 or you can make a clear function:
if os.name == 'nt':
Thanks, @johnroberts @ChezCoder
I have no idea how this game works. Do i just keep pressing enter?
@TobyS lol yes...
@ChezCoder seems a bit pointless lol