Skip to content
/ moria Public

Moria is a roguelike computer game

Notifications You must be signed in to change notification settings

acahir/moria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moria

uMoria is a rogue-like dungeon exploration game, ported to run on the various flavors of unix. This is based on James Wilson's second major release of the game.

Getting Started

Installation

After cloning the repository, the project should build cleanly on linux or Mac OS X by simply typing 'make' in the base directory. 'make install' will copy the files into final destinations. uMoria requires the ncurses library which can be installed via Macports or Homebrew. Xcode, a free download from the App Store, is also required to build uMoria.

Detailed install instructions

Playing

The game begins with creating a character, with a number of choices available for race, classes, etc. A good place to start is the Moria Manual. It's not really a quick start guide, but it's useful to have handy as you get started.

Changes

v5.6.1

The latest code revision include several new features and some maintenance and cleanup of the code base.

Added two new in-game options :

  • Disable haggling - no haggling in any store for buying or selling
  • Easy/Quick Mode - changes some odds in player's favor. Allows faster games
    • doubles chance of getting a special item
    • increased odds of casting Identity spell
    • increased odds of detecting magic items in inventory
    • ensures a list of base supplies are always available in stores (indenty, word-of-recall, food ration, oil, etc)
    • increases the price limits in some stores

Added initial color support - Minimally tested fuction in no color support env - Added colors for most items and monsters - Additional improvements possible by adding color to... - inventory, Char description screen, stats, messages, etc

Added Makefile for Mac OS x

Disenchant creatures can no longer affect item bonuses that can't be re-enchanted. For example, Gauntlets of Slaying toHit or toDam, or toAC on weapons. Seemed unfair to be able to loose without ability to regain.

Improved odds for boots of speed, as they were one of the rarest items in the game.

Cleaned up compiler warnings for C99.

Reformatted all source using clang-format based off the llvm style.

Possible future improvements: - remove MAC code? no longer relevant and messy - ability to choose character color

Motivation

This code is built on top of umoria 5.6, the most recent version available. The main purpose for this project was to refresh some c programming skills, and modify the program to remove the dreaded haggling in stores. Cleaning up the code and clean compiles on Mac OS X followed along with several other enhancements.

Resources

There are a number of resources available on the web, some of the most useful are listed below

License

Umoria is free software released under the terms of version 3 the GNU General Public License as published by the Free Software Foundation. Full details can be found in the license file.