A JavaScript port of Larn 12.4.5
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
parse
util
.gitignore
README.md
TODO.md
action.js
altar.js
bill.js
buttons.js
create.js
data.js
display.js
fountain.js
global.js
help.js
history.md
inventory.js
io.js
larn.html
larn.js
level.js
main.js
mazes.js
monster.js
monsterdata.js
movem.js
object.js
parse.js
player.js
potion.js
regen.js
savelev.js
scores.js
scroll.js
spells.js
spellsinfo.js
spheres.js
stairs.js
state.js
store.js
storedata.js
throne.js
util.js

README.md

You can play Larn online here

JS LARN version 12.4.5

Introduction

LARN is a dungeon type adventure game similar in concept to HACK, ROGUE or MORIA, but with a different feel and winning criteria.

History and Other Information

Noah Morgan originally created LARN 12.0 and released the UNIX version to the USENET in 1986. Don Kneller ported the UNIX version to MSDOS (both IBM PCs and DEC Rainbows).

Other contributors from this era include:

  • James McNamara: UNIX install notes, source and patch distribution
  • Fred Fish: Termcap support for VMS port
  • Daniel Kegel: Enhanced ansi terminal decoding for DOS
  • Alexander Perry: Port for Linux 2.x kernel and GCC 3.x

Kevin Routley contributed various LARN enhancements. Version 12.1 had a limited distribution. Version 12.2 was distributed to the Usenet community. Version 12.3 was the last version released by Kevin.

Someone made 12.4 through 12.4.2, possibly copx according to roguebasin. Edwin Denicholas took 12.4 alpha 2 and caressed it into 12.4.3 for Win32. Version 12.4.4 includes a bugfix from Joe Neff.

Other editions of Larn have been distributed by others, namely LARN13, Ultra-Larn, and NLarn.

This is a JavaScript port of Larn, by Jason Primeau. It primarily uses the 12.4.4 codebase and includes a couple of small fixes, a global scoreboard, and minor updates to balance the game at higher difficulties, bumping the version number to 12.4.5.

I hope you enjoy this version of LARN.

Larn's version history can be found here

WIZARD mode

There is a WIZARD mode for testing features of the game. To get into WIZARD mode, type in an underscore '_' and answer the prompt for the password with 'pvnert(x)' (do not enter the quotes). Wizards are non-scoring characters that get magic mapping, everlasting expanded awareness and one of every object in the game.

Since it's easy to lose your game due to a browser crash, accidental back button press, or closed tab, there are 2 new 'wizard' passwords. Using the password 'checkpoint' will load a backup of a checkpoint file, and 'savegame' will resurrect a previous save game. Obviously this can be used to cheat, but it was already pretty easy to cheat before. Be honorable, always.

MIT License

Copyright (c) 2017 Jason Primeau

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Acknowledgements

Many thanks to BrowserStack for supporting this open source project with a free license to improve cross-browser support.

BrowserStack