Coder Social home page Coder Social logo

starcrash's Introduction

Starcrash

Improvements (hopefully) to the BIFF (Bitwise Interactive Fiction Framework) by Huw Collingbourne.

I am using his book The Little Book of Adventure Game Programming, to learn Java programming concepts.

Huw has a YouTube playlist in which he goes over some of the basic structures he created in the book.

The original version of Starcrash is included in the source code downloads for this book.

JavaAdventure_Medium

This personal repository may be used with the restrictions on BIFF as stated below:

"Early releases will always be substantially incomplete. However, if you want to deepen your understanding of game programming, this is a great opportunity for you to try to modify the latest release by adding on additional features. You are free to modify BIFF as required as long as you leave my copyright notice in the comments of the source code."

This transcript illustrates some of the improvements to be made.

game.Starcrash.main({ });
You find yourself on the bridge of the HMS Starcrash,
an elite-class starship of Her Majesty's Royal Fleet.
What do you want to do?
(Enter q to quit)
look
This is an ultra-modern starship bridge.
A huge viewscreen dominating one wall shows space in this quadrant.
There is a console on a desk with a slot beneath it.
x console
Invalid command 'x console'
x not understood
examine console
Invalid command 'examine console'
examine not understood
look at console
It is a display console built into the desk.
It is displaying this message:
Place activation card into slot to engage faster-than-light drive.
quit
quit (not implemented)
q
ok

...And here is the start of a great adventure to examine...

You find yourself on the bridge of the HMS Starcrash,
an elite-class starship of Her Majesty's Royal Fleet.
What do you want to do?
> look
This is an ultra-modern starship bridge.
A huge viewscreen dominating one wall shows space in this quadrant.
There is a console on a desk with a slot beneath it.
> x console
It is a display console built into the desk.
It is displaying this message:
"Place activation card into slot to engage faster-than-light drive.".
> engage
OK, Jean-Luc. We'll engage. Really?
> examine
examine what?
OK, on further examination you find you aren't examining anything.
> examine console
It is a display console built into the desk.
It is displaying this message:
"Place activation card into slot to engage faster-than-light drive.".
> quit
OK, I'm sure you have better things to do with your time.
I'm not sure what, but whatever.

Process finished with exit code 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.