A text based adventure game written in batch with and unlimited world and autosaving.
You are Batch. Batch is a sturdy thing, but he doesen't exactly know what he is, who he is, where he is or anything really. Looking around him he finds himself with trees in every direction with the path to the north blocked for some strange reason, and the path to the east is blocked by an angry ant. What should he do, you may ask. How about typing 'south'!
![How To Make A Text Based Game In Batch How To Make A Text Based Game In Batch](/uploads/1/2/6/2/126258895/544881622.jpg)
So i'm attempting to make a text based game for a class project. I want to make a class for the rooms the player will enter. Each room will contain objects which are randomized using the rand function. I will also likely randomize the number of doors in each room, and have pointers at each door pointing to the next room.
The adventures of Batch is an interesting story driven adventure game where you walk around, explore a vast growning world and try to dig up all those secret pieces of lore. You may also code your own tiles to the game, contributing to gameplay in the most important way there is.
#How to contribute
To write your own level, you need a few basic things.
1: Windows or some other OS allowing for execution of batch files (.bat)
2: A text editor (notepad)
3: A github profile for sending pull requests.
To actually make the level:Copy one of the existing ones. The name positions the tiles in the world, with 001001.bat as far as you can get to the northeast, 002001.bat 1 tile farther west and 002003.bat 2 tiles west and 3 tiles east. The character doesen't have to be able to walk in every direction, just make sure that Batch can walk from the start and into your tile in some way.
Dunnet | |
---|---|
Developer(s) | Ron Schnell |
Genre(s) | Text adventure |
Dunnet is a surreal, cyberpunk[1]text adventure written by Ron Schnell, based on a game he wrote in 1982[2]. The name is derived from the first three letters of dungeon and the last three letters of Arpanet[citation needed]. It was first written in Maclisp for the DECSYSTEM-20, then ported to Emacs Lisp in 1992.[3] Since 1994 the game has shipped with GNU Emacs;[4] it also has been included with XEmacs.[5]
The game has been recommended to writers considering writing interactive fiction.[6]
Plot[edit]
The game starts out like most text adventures, with the player standing at the end of a dirt road, but it turns to the surreal when players realize that they are actually walking around inside a Unix system, and teleporting themselves around the Arpanet. There are many subtle jokes in this game, and there are multiple ways of ending the game. Throughout the game the player moves through different areas and rooms trying to collect treasure to earn points.
Legacy[edit]
Dunnet is playable on any operating system with the Emacs editor.[7] Emacs comes with most Unices, including macOS and distributions of Linux. Several articles targeted to Mac OS X owners have recommended it as an easter egg as a game that can be run in Terminal.app.[8][9] It can be run by running
emacs -batch -l dunnet
in a shell or the key sequence M-x dunnet
within Emacs, the former being the preferred and official way to run it.[10] Dunnet was used as a benchmark in the effort to port Emacs Lisp to Guile, progressing from running standalone games[11] to running the entire Emacs system in less than a person-year of work.[12]References[edit]
- ^'There Is A Surreal Cyberpunk Adventure Game Built Into OS X That You Never Knew About'.
- ^'Original 1982 Dunnet predecessor found in MIT archives'.
- ^Ron Schnell (1992-07-28). 'dunnet - text adventure for e-lisp'.
- ^Richard M. Stallman (1994). 'GNU Emacs Manual'. p. 314.
M-x dunnet
runs an adventure-style exploration game, which is a bigger sort of puzzle [compared to the other puzzle-games that ship with GNU Emacs]. - ^Ben Wing. 'A Tour of XEmacs'. Archived from the original on 2000-06-19. Retrieved 2015-07-27.
Most of the actual editor functionality is written in Lisp and is essentially an extension that sits on top of the XEmacs core. XEmacs can do very un-editorlike things; for example, try running XEmacs using the command
xemacs -batch -l dunnet
. - ^'Interactive Fiction – An introduction (updated)'. Archived from the original on 2015-08-23.
- ^'Dunnet'.
A text adventure that is built into almost every copy of the Emacs text editor.
- ^'Play an 'old-school' adventure game'.
- ^'Discover the Text-Based Adventure Game Built Into Your Mac's Terminal'.
- ^Dunnet help command: 'NOTE: This game *should* be run in batch mode!'
- ^'Guile Scheme Emacs-Lisp Compatibility Matures'.
- ^'Re: Emacs Lisp's future'.
External links[edit]
- Source code, of the eLisp port, GPLv3 license
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Dunnet_(video_game)&oldid=932282769'