edvella / oregon-bash

A port of the 1975 MECC version of The Oregon Trail, written in Bash.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Oregon Trail

A port of the 1975 MECC version of The Oregon Trail, written in Bash.

Done as an exercise after too much time spent away from Linux.

In this port, I have kept most of the original wording and punctuation and only took the decision to change where I felt that it improved the interaction with the player by avoiding confusion.

Game Information

This program simulates a trip over the Oregon Trail from Independence, Missouri to Oregon City, Oregon in 1847. Your family of five will cover the 2000 mile Oregon Trail in 5-6 months --- if you make it alive.

You had saved $900 to spend for the trip, and you've just paid $200 for a wagon. You will need to spend the rest of your money on the following items:

  • Oxen - you can spend $200-$300 on your team. The more you spend, the faster you'll go because you'll have better animals.

  • Food - the more you have, the less chance there is of getting sick.

  • Ammunition - $1 buys a belt of 50 bullets. You will need bullets for attacks by animals.

  • Clothing - this is especially important for the cold weather you will encounter when crossing the mountains.

  • Miscellaneous supplies - this includes medicine and other things you will need for sickness and emergency repairs.

You can spend all your money before you start your trip - or you can save some of your cash to spend at forts along the way when you run low. However, items cost more at the forts. You can also go hunting along the way to get more food.

This game is competely text-driven through your keyboard. Whenever you have to use your trusty rifle along the way, you will see words: type BANG. The faster you type in the word 'BANG' and hit the 'Return' key, the better luck you'll have with your gun.

When asked to enter money amounts, don't use a '$'.

Good luck!!!

Downloading the game script

To download the game, you can either clone this repo or otherwise directly save this file.

The downloaded file needs to be set up as an executable file before it can be run the first time using the chmod command:

chmod +x oregon.sh

Running the game

To run the game, open a bash terminal, change directory to the game folder and type the following command to run the game script:

./oregon.sh

So, putting it all together:

cd oregon-bash/
chmod +x oregon.sh
./oregon.sh

Music played during development:

  • Tchaikovsky: Swan Lake - performed by the London Symphony Orchestra (1976)
  • ...And Justice for All - Metallica (1988)
  • Agents of Fortune - Blue Ă–yster Cult (1976)
  • Use Your Illusion I - Guns N' Roses (1991)
  • Goats Head Soup - The Rolling Stones (1973)
  • Meteora - Linkin Park (2003)
  • The Works - Queen (1984)
  • Mozart: Requiem in D Minor - performed by the Slovak Philarmonic Orchestra (1989)
  • L'Incredibile Renato Carosone (1954)

About

A port of the 1975 MECC version of The Oregon Trail, written in Bash.

License:MIT License


Languages

Language:Shell 100.0%