Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

-- MICKEY MOUSE 64 AI EDITION

-- Estilo Nintendo 64 retro

-- Personajes: Mickey, Labubus, Rumi

-- Villanos: Pedro el Gato, Arturo Vidal


game = {

    title = "Mickey Mouse 64 AI",

    version = "Retro 64",

    stars = 0,

    coins = 0,

    level = 1

}


player = {

    name = "Mickey",

    hp = 100,

    lives = 3,

    speed = 5,

    jump = 10

}


friends = {

    {

        name = "Labubus",

        skill = "Escudo mágico"

    },

    {

        name = "Rumi",

        skill = "Curación"

    }

}


enemies = {

    {

        name = "Pedro el Gato",

        hp = 120,

        attack = "Zarpazo Oscuro"

    },

    {

        name = "Arturo Vidal",

        hp = 180,

        attack = "Patada Dorada"

    }

}


levels = {

    "Bosque Toon",

    "Playa Retro",

    "Ciudad Pixel",

    "Castillo Final"

}


function intro()

    print("=== MICKEY MOUSE 64 AI ===")

    print("Mickey debe rescatar el Reino Toon!")

end


function collectCoin()

    game.coins = game.coins + 1

    print("🪙 Moneda obtenida: "..game.coins)

end


function collectStar()

    game.stars = game.stars + 1

    print("⭐ Estrella obtenida: "..game.stars)

end


function useFriend(id)

    print(friends[id].name.." usa "..friends[id].skill)

end


function battle(enemy)

    print("⚔️ Enemigo: "..enemy.name)

    while enemy.hp > 0 do

        enemy.hp = enemy.hp - 30

        print("Golpeaste a "..enemy.name.." HP "..enemy.hp)

    end

    print(enemy.name.." derrotado!")

    collectStar()

end


intro()


for i=1,4 do

    print("🌍 Nivel: "..levels[i])

    collectCoin()

    collectCoin()

end


useFriend(1)

battle(enemies[1])


useFriend(2)

battle(enemies[2])


print("🏆 Mickey ganó la aventura 64!")