Skip to content
Sign upLog in
← Back to Community

Dragon Eye RPG

Profile icon
PixelBitez

This is an RPG made for the AI competition. The game is intelligent by generating a story and determining enemy moves.

About

Dragon Eye is a terminal based RPG. It may not be a AAA game, but it does have one special thing about it. Since there is no story, the game is generated by an AI based on decisions you have made.

Cannot infer image mime type

Enemies

You can fight a variety of enemy's in the game. Before combat the game generates your enemy to be close to your level and damage, that way every fight is fair, and a decent challenge.

class Enemy{ public int Level; public int Health; public string Race; public int Damage; public int Defense; }

Items

Items are essential to playing Dragon Eye, without them you would most likely be on a death loop.

class Item{ public string ItemType; public string ItemName; public int ItemLevel; public int Damage; public int Value; }

Strategy

The gameplay is based on strategically making decisions. You always have 3 options in combat, attack, defend, and use item. Using an item will heal you with an item, defend will use your defense to counter the enemies next attack, and attacking will use your attack and subtract that from the enemies health.

class Player{ public string Name; public int Level; public int Health; public string Race; public int Damage; public int GP; public int Defense; public int xp; public List<Item> Inventory = new List<Item>(); }
Voters
Profile icon
AlexanderAbramo
Profile icon
JuliaLourenco
Profile icon
EmblaSemla
Profile icon
AngieMatamoros
Profile icon
tilleyewan69
Profile icon
BahriMA
Profile icon
AidanVicente
Profile icon
KatherineBonil1
Profile icon
SaimSaim
Profile icon
DimitarDimitro9
Comments
hotnewtop
Profile icon
nathanburgess

the game is generated by an AI based on decisions you have made

No it's not.

Seriously, am I missing something here? There's no AI at all, there's no tracking of user decisions. It just randomly does something each turn of the game...

Profile icon
PixelBitez

@nathanburgess
owchie, it may not be the best "ai" in the competition but reading over the competition page, it follows all rules. it shows some form of intelligence, enemies defend themselves when needed, characters can ask you for money, etc.. so it may not be sophisticated but its within the rules. i am working on a new version of this game with complete ai for enemies and a story driven by decisions, so if you want to see that instead of this.

Profile icon
LukeGordon2

completed it mate

Profile icon
cease

When the game say's "Someone walks up to ___, and asks him/her to slay a monster." Mine auto says "___declined the offer" but then automatticaly says "Someone walks up to ___, and asks him/her to slay a monster" then "_____accepted the offer" fix that part maybe

Profile icon
16040

@cease
Exact same problem.

Profile icon
ebest

Level -1 enemy

Profile icon
PixelBitez

@ebest
yeh u better not lose to him

Profile icon
ebest

@PixelBitez
Won. It did not give me health though...

Profile icon
Sparkster

Hey can you make it that when you choose an item, that you dont have to type in capital letters for ex. you just type in “stick” instead of “Stick” it would make it easier for people I would think.

Profile icon
NarenR

@PixelBitez
i completely agree

Profile icon
PixelBitez

@NarenR
im actually working on a extended version of this with a lot more, and i took your feedback so that will be in it, i might finish in a week or so.

Profile icon
NarenR

@PixelBitez
Very nice. Overall it works really well. It's just the UI that needs a little work. But nice job!

Profile icon
PixelBitez

@NarenR
thanks

Profile icon
dlacrosse

@Sparkster
or he can just put .lower() so that either way it is recieved as "stick" which can be the correct answer

Profile icon
TYREESE

its very
good but needs a toootorial

Profile icon
Nanowrimoijk
A level 3 Dwaf started a fight.

did anybody else catch this?

Profile icon
PixelBitez

@Nanowrimoijk
oopsie poopsie

Profile icon
programmyBoi

@Nanowrimoijk
lmao! DWAF!

Profile icon
KasCode_Inc

Very cool!

Unrelated question: How do you generate random numbers?

Profile icon
PixelBitez

@KasCode_Inc u gotta type:

Random rnd = new Random(); int randomNumber = rnd.Next(min, max);

max being the maximum number and min being the minimum

Profile icon
KasCode_Inc

@PixelBitez
Thanks!

Profile icon
LOLLOL3

GP -21

Profile icon
PixelBitez

@LOLLOL3
dang u broke, pay me your debt in gold

Profile icon
mkhoi

When monsters are low on health they can regenerate some health back every turn?

Profile icon
PixelBitez

@mkhoi
yeh they do sometimes

Profile icon
hillsam001

gg on winning!

Profile icon
PixelBitez

@hillsam001
thanks

Profile icon
LukeGordon2

FYI - someone has taken this game and posted it saying it is theirs https://repl.it/talk/challenge/Loa-RPG-WIP/10637
i ma absolutley DISGUSTED

Profile icon
PixelBitez

@LukeGordon2
dang that person needs to be creative instead of stealing work

Profile icon
NecrozmaSpin

illusion 100

Profile icon
CharlieMorris1

nerf axe

Profile icon
ChristianThone

WOW! AMAZING! I made a hacked version with the stick called "DB" it has 1000 Damage.
Here is the link to it if you wanna play it: https://repl.it/@ChristianThone/Dragon-Eye-RPG-HACKED

Profile icon
PixelBitez

@ChristianThone
nice bro, i like being op

Profile icon
CharlesPreising

Why people always tryna hustle me for my money?

Profile icon
PixelBitez

@CharlesPreising
the world is cruel

Profile icon
ArpanDhatt

cake is OP

Profile icon
PixelBitez

@ArpanDhatt
agreed

Profile icon
MihaiZ

It has some lack of info, but overall it is a very good attempt. Noice!

Profile icon
skull_is_dull

at the first battle how do i attack?

Profile icon
PixelBitez

@skull_is_dull You have to type the number of the action, so in order to attack you type "1". Then it will ask what to attack with, type in "Stick" as it is the starting item in your inventory.

Profile icon
EatTofuEveryDay

@PixelBitez
Although there is the problem if you type Attack instead of 1 your turn is skipped. Also, typing stick instead of Stick is also invalid.

Profile icon
KiKUP

@EatTofuEveryDay
@PixelBitez
You can easily fix this by using the .lower() function on your inputted variable, and the code will no longer be cap sensitive.

if input("Attack with what? ").lower() in inventory:
Profile icon
PixelBitez

@KiKUP
yeh ik but then i'd have to add a lot more code because the way I made combat is complicated

Profile icon
KiKUP

@PixelBitez
Sure thing! I'm anxious to see what more you can do with this! :)

Profile icon
PixelBitez

@EatTofuEveryDay
im actually working on a second version of this game so i heard your feedback and am using it in the next version

Profile icon
Goldrank

really fun!

Profile icon
PixelBitez

@Goldrank
thanks

Profile icon
VicGaming

Why can you heal with a sword?

Profile icon
bonnym512

This game isn't fun. the first enemy you versus is too strong and you can't kill it in time. also, I couldn't access any weapons when I tried to attack.

Profile icon
[deleted]

Cannot infer image mime type

ok

Profile icon
[deleted]

Very broken, i almost can't understand what it's telling me...

Cannot infer image mime type

Profile icon
spiderchi4

Cool Game i see you put a lot of thought into it, Gives me motivation to make my own RPG games

Profile icon
spiderchi4

recommend adding emoticons like this (' . ') to make it more funny and cool to look at than just text you have to read

Profile icon
Squrril

nope healed 6 with a Knife

Profile icon
programmyBoi

I'm so stupid and can't figure out how to use an item because the directions are unclear as to how that is done. Please help me.

Profile icon
PixelBitez

@programmyBoi
ya gotta type 3 then type in the name of the item as its written

Profile icon
programmyBoi

@PixelBitez
It still doesn't work, Then I looked at another comment that you gave to someone and I figured out that I had to do 1 then Stick

Profile icon
katyadee

Are you submitting this to the Game Jam?

Profile icon
PixelBitez