Freitag Software
The Joy of Writing Software
  • Home
    • Links
  • My Software
    • JavaScript Programs >
      • Dots
      • The Code Cracker
      • The Deserted Ship
      • Flying Text
    • Java Programs >
      • Dot Animation
      • Operation Rescue >
        • Mazes for Programmers
      • Battleship!
      • Blackjack
      • Draw Poker
      • State Pattern Demo
      • Falling Blocks
    • Android Programs >
      • The Oracle
      • RPSLS
      • Gemini Falcon: Asteroid Miner
      • Gemini Falcon: All Boxed In >
        • Gemini Falcon >
          • Privacy Policy
          • A Game Oddity
      • Ay Caramba
      • Dots vs Dots
      • Ants vs Ants
    • Twine Stories
  • Random Thoughts
  • Book Reviews
  • Teaching
    • Real-Life Stories
    • Flying Text
  • About
    • Contact

The Deserted Ship

This is a JavaScript text adventure game... or maybe I should just call it a small amusement. There are things to find and use but not much game mechanics really. I wrote it while learning JavaScript/HTML5/CSS because reading is not doing. 
Picture
The player can navigate around the ship using text commands such as "north", or "east". Or they can use the arrow keys. When they find something they can get it, pick it up, or take it. Then they can read it, use it, or drop it. 
Picture
Picture
Eventually the player will find and use all the items and the game ends. To jazz up the not-real-exciting game play I changed the descriptions of the ship's rooms as the player finds and uses objects. And there are 4 different endings too. 

Being JavaScript, the code is just text and is read by and runs within a browser. Download the zip file and click on ship.html in the src folder to run the game. Enjoy!  
thedesertedship.zip
File Size: 4574 kb
File Type: zip
Download File

This website documents my love of programming.  I hope it is useful and entertaining for you to read. 
An old programmer learning new tricks... 
(c) 2017 David A. Freitag, all rights reserved.