Skip to content
Coding Fanatic
  • Android Development
  • News and Reviews
  • Road2Pro
  • Tutorials
  • Services
  • About

Interactive Fiction: A Fun Program to Write and Play

  • January 13, 2017January 9, 2018
  • by Richard Clarke

Once again, I tasked myself with writing a new Java program this week. I made it to the part of my Java book about mathematical functions, Strings, and character data types. The chapter was brief, and the exercises were too centered around math. Go figure.

I didn’t like those options. Instead, I chose to come up with my own project. Interactive Fiction!

For the uninitiated, interactive fictions are stories/books/games where the audience (you) are given options that affect the direction of the plot. Remember those “choose your own adventure” books? Or Telltale games? Same thing.

In this story, players awaken and make decisions that affect their commute to work. Pretty straightforward, but the possibilities are endless! I’m taking a page out of the Mario book and making it simple enough to get into, but providing a certain level of depth to give players different ways to enjoy it.

Ingredients for my program: Selection statements to create pivot points in the plot, String and character variables for holding various crazy values, and good old user input. If I can get a CERTAIN PROGRAM running, this might make it’s way to mobile phones soon…

-CF

Related

Falling Through and Landing on Values
Interactive Fiction: (F)Funny (U)Unreal (N)No way this creator is sane
Richard Clarke
Richard is currently a developer using Java and Android Studio to build custom applications for Android. Richard tutored in mathematics at Montgomery College, and worked in Information Technology before entering the Software Development industry as a Quality Engineer.

Related articles

Kick That Boulder to Your…
Loops all around! Loops all…
My story is complete…ish
Interactive Fiction: (F)Funny (U)Unreal (N)No…
Falling Through and Landing on…
Condensing Your Code with Variables,…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • GitHub
  • YouTube
  • X
  • Instagram
  • LinkedIn
My Tweets

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • X
  • GitHub
  • LinkedIn
  • YouTube

Archives

Theme by Colorlib Powered by WordPress