KrispyChiken (75)

Hi all!
This is my first repl. It is a battle like simulator where you can choose to battle someone (Anyone really). Hope you enjoy!

(Sry people who liked the hacks they have been removed my computer couldn't load so fast)

You are viewing a single comment. View All
Axrevyn (220)

I do have a little bit of advice - it's a bit strange for the game loop to restart without clearing.
Try adding this to your code:

from os import system

def clear():

Alternatively, you could do this:

from replit import clear

Both will allow you to use clear() to clear all text from the console.

I recommend using method one, though.