Skip to content

Instantly share code, notes, and snippets.

@crorsavir54
crorsavir54 / adventuretime.py
Last active September 30, 2025 11:25
A python console-text-based game
from random import randint
class Character():
def __init__(self):
self.name = ""
self.health = 1
self.health_max = 1
def do_damage(self, enemy):