Mage vs Monster - C#

Have a project in the works but not much media? How about an idea you are turning into a project? Maybe a game design document you want to start with. This is the place.
Post Reply
User avatar
mattykins
Posts: 203
Joined: Sun Jan 15, 2012 10:15 pm

Mage vs Monster - C#

Post by mattykins »

So basically, I'm teaching myself C#. Based on HallsOfValhalla's tutorials, and some books etc. I've put together my first little game! :D
It is called MageVsMonster and it's text-based.

It is a turn based game where you play a mage, and you have to kill a monster. simple right? it is. hahaha.
As of right now nothing happens when you run out of mana D: but the game is so easy i highly doubt you will run out of mana.
Make sure to type the spells in lowercase with no spaces because I haven't written any code to fix that lol.

You can download it here: http://www.mediafire.com/?kxbo4x2z40crr7b

I would love any and all feedback :P

Just remember this is a test project. And i dont plan on finishing it, because it was just to test my knowledge of c# :)

EDIT: Just realized that there was a typo with the heal spell. It was

Code: Select all

       static public void Heal()
        {
            Console.Clear();
            Console.WriteLine("The player casted Heal!");
            int heal = 10;
            health = +heal;
            mana -= 5;
            Console.WriteLine("The player healed for: 10");
            Console.WriteLine("The spell cost 5 mana.");
            Console.ReadKey();


        }
Notice that it had originally said

Code: Select all

health = +heal
When it was supposed to say

Code: Select all

 health += heal
In the version you can download it will set your health to 5 if you use the heal spell. So don't use it xD
Post Reply

Return to “Project Showoff Tier I”