<s>
The	B-Device
Dungeons	I-Device
of	I-Device
Moria	I-Device
,	O
usually	O
referred	O
to	O
as	O
simply	O
Moria	B-Device
,	O
is	O
a	O
computer	O
game	O
inspired	O
by	O
J	O
.	O
R	O
.	O
R	O
.	O
Tolkien	O
's	O
novel	O
The	O
Lord	O
of	O
the	O
Rings	O
.	O
</s>
<s>
The	O
objective	O
of	O
the	O
game	O
is	O
to	O
dive	O
deep	O
into	O
the	O
Mines	O
of	O
Moria	B-Device
and	O
kill	O
the	O
Balrog	O
.	O
</s>
<s>
Moria	B-Device
,	O
along	O
with	O
Hack	B-Application
(	O
1984	O
)	O
and	O
Larn	B-Application
(	O
1986	O
)	O
,	O
is	O
considered	O
to	O
be	O
the	O
first	O
roguelike	O
game	O
,	O
and	O
the	O
first	O
to	O
include	O
a	O
town	O
level	O
.	O
</s>
<s>
Moria	B-Device
was	O
the	O
basis	O
of	O
the	O
better	O
known	O
Angband	B-Application
roguelike	O
game	O
,	O
and	O
influenced	O
the	O
preliminary	O
design	O
of	O
Blizzard	O
Entertainment	O
's	O
Diablo	B-Application
.	O
</s>
<s>
The	O
player	O
's	O
goal	O
is	O
to	O
descend	O
to	O
the	O
depths	O
of	O
Moria	B-Device
to	O
defeat	O
the	O
Balrog	O
,	O
akin	O
to	O
a	O
boss	O
battle	O
.	O
</s>
<s>
As	O
with	O
Rogue	B-Application
,	O
levels	O
are	O
not	O
persistent	O
:	O
when	O
the	O
player	O
leaves	O
the	O
level	O
and	O
then	O
tries	O
to	O
return	O
,	O
a	O
new	O
level	O
is	O
procedurally	O
generated	O
.	O
</s>
<s>
Among	O
other	O
improvements	O
to	O
Rogue	B-Application
,	O
there	O
is	O
a	O
persistent	O
town	O
at	O
the	O
highest	O
level	O
where	O
players	O
can	O
buy	O
and	O
sell	O
equipment	O
.	O
</s>
<s>
Moria	B-Device
begins	O
with	O
creation	O
of	O
a	O
character	O
.	O
</s>
<s>
One	O
then	O
selects	O
the	O
character	O
's	O
"	O
class	O
"	O
from	O
the	O
following	O
:	O
Warrior	O
,	O
Mage	O
,	O
Priest	O
,	O
Rogue	B-Application
,	O
Ranger	O
,	O
or	O
Paladin	O
.	O
</s>
<s>
Mages	O
,	O
Rangers	O
,	O
and	O
Rogues	B-Application
can	O
learn	O
magic	O
;	O
Priests	O
and	O
Paladins	O
can	O
learn	O
prayers	O
.	O
</s>
<s>
However	O
,	O
it	O
is	O
possible	O
to	O
save	O
the	O
file	O
that	O
is	O
generated	O
by	O
the	O
game	O
(	O
MORIA.SAV	O
in	O
the	O
Windows	O
version	O
)	O
to	O
a	O
backup	O
location	O
,	O
then	O
restore/replace	O
that	O
file	O
after	O
the	O
character	O
had	O
been	O
killed	O
.	O
</s>
<s>
Mana	B-Application
and	O
hit	O
points	O
are	O
replenished	O
by	O
rest	O
or	O
by	O
some	O
other	O
magical	O
means	O
.	O
</s>
<s>
Around	O
1981	O
,	O
while	O
enrolled	O
at	O
the	O
University	O
of	O
Oklahoma	O
,	O
Robert	O
Alan	O
Koeneke	O
became	O
hooked	O
on	O
playing	O
the	O
video	O
game	O
,	O
Rogue	B-Application
.	O
</s>
<s>
Soon	O
after	O
,	O
Koeneke	O
moved	O
departments	O
to	O
work	O
on	O
an	O
early	O
VAX-11/780	O
minicomputer	O
running	O
VMS	B-Operating_System
,	O
which	O
at	O
that	O
time	O
had	O
no	O
games	O
.	O
</s>
<s>
Since	O
no	O
longer	O
having	O
access	O
to	O
Rogue	B-Application
was	O
"	O
intolerable	O
"	O
for	O
Koeneke	O
,	O
he	O
started	O
developing	O
his	O
own	O
Rogue	B-Application
game	O
using	O
VMS	B-Language
BASIC	I-Language
and	O
gave	O
it	O
the	O
name	O
,	O
Moria	B-Device
Beta	O
1.0	O
.	O
</s>
<s>
During	O
the	O
summer	O
of	O
1983	O
,	O
Koeneke	O
rewrote	O
his	O
game	O
in	O
VMS	B-Operating_System
Pascal	B-Application
,	O
releasing	O
Moria	B-Device
1.0	O
.	O
</s>
<s>
In	O
1983/84	O
Jimmey	O
Wayne	O
Todd	O
Jr.	O
joined	O
Koeneke	O
on	O
the	O
development	O
of	O
Moria	B-Device
,	O
bringing	O
with	O
him	O
his	O
character	O
generator	O
,	O
and	O
working	O
on	O
various	O
aspects	O
of	O
the	O
game	O
,	O
including	O
the	O
death	O
routines	O
.	O
</s>
<s>
The	O
last	O
VMS	B-Operating_System
version	O
was	O
Moria	B-Device
4.8	O
,	O
released	O
in	O
November	O
1986	O
.	O
</s>
<s>
In	O
February	O
1987	O
,	O
James	O
E	O
.	O
Wilson	O
started	O
converting	O
the	O
VMS	B-Operating_System
Pascal	B-Application
source	O
code	O
to	O
the	O
C	O
programming	O
language	O
for	O
use	O
on	O
UNIX	B-Application
systems	I-Application
,	O
which	O
had	O
started	O
to	O
become	O
popular	O
by	O
this	O
date	O
.	O
</s>
<s>
To	O
distinguish	O
his	O
release	O
from	O
the	O
original	O
VMS	B-Operating_System
Moria	B-Device
,	O
Wilson	O
named	O
it	O
UNIX	B-Application
Moria	B-Device
,	O
shortened	O
to	O
UMoria	B-Device
.	O
</s>
<s>
UMoria	B-Device
4.85	O
was	O
released	O
on	O
November	O
5	O
,	O
1987	O
.	O
</s>
<s>
As	O
C	O
was	O
a	O
much	O
more	O
portable	O
programming	O
language	O
than	O
VMS	B-Operating_System
Pascal	B-Application
,	O
there	O
was	O
an	O
explosion	O
of	O
Moria	B-Device
ports	O
for	O
a	O
variety	O
of	O
different	O
computer	O
systems	O
such	O
as	O
MS-DOS	B-Application
,	O
Amiga	B-Device
,	O
Atari	B-Device
ST	I-Device
and	O
Apple	B-Device
IIGS	I-Device
.	O
</s>
<s>
UMoria	B-Device
5.0	O
,	O
released	O
in	O
1989	O
,	O
unified	O
these	O
separate	O
ports	O
into	O
a	O
single	O
code	O
base	O
,	O
fixing	O
many	O
bugs	O
and	O
gameplay	O
balance	O
issues	O
,	O
as	O
well	O
as	O
adding	O
lots	O
of	O
new	O
features	O
;	O
many	O
of	O
which	O
were	O
taken	O
from	O
BRUCE	O
Moria	B-Device
(	O
1988	O
)	O
.	O
</s>
<s>
In	O
1990	O
the	O
Angband	B-Application
project	O
was	O
started	O
,	O
which	O
is	O
based	O
on	O
the	O
UMoria	B-Device
5.2.1	O
source	O
code	O
.	O
</s>
<s>
UMoria	B-Device
was	O
in	O
continuous	O
development	O
for	O
several	O
more	O
years	O
,	O
with	O
UMoria	B-Device
5.5.2	O
released	O
on	O
July	O
21	O
,	O
1994	O
.	O
</s>
<s>
In	O
2008	O
,	O
through	O
the	O
work	O
of	O
the	O
free-moria	O
project	O
,	O
UMoria	B-Device
was	O
relicensed	O
under	O
the	O
GNU	B-License
General	I-License
Public	I-License
License	I-License
.	O
</s>
<s>
Jimmey	O
Wayne	O
Todd	O
Jr.	O
,	O
a	O
major	O
contributor	O
to	O
VMS	B-Operating_System
Moria	B-Device
,	O
along	O
with	O
Gary	O
D	O
.	O
McAdoo	O
,	O
are	O
not	O
listed	O
as	O
consenting	O
to	O
the	O
relicense	O
.	O
</s>
