Git Product home page Git Product logo

tmachine's Introduction

The Time Machine - An interactive C++ "translation" of The Time Machine

Copyright © 2014 Eyal Kalderon

This is a creative response to the short science fiction novella The Time Machine by H.G. Wells (1898, Heinemann text), intended as a cumulative high school project for English 12 HN, in which I attempt to represent a piece of the plot in computer code.

Please note that these source files are not pseudocode. Unlike most creative English pieces, this program (or should I say, novella) actually works. The source code provided is standards-compliant C++11 and has been tested on Arch/x64 with GCC. Stepping through the code in a debugger, analyzing the program's behavior in memory, and checking the stdout in a terminal (spoken dialogue) will let you follow the plot as it unfolds.

But of course, the greatest technical achievement lies not in the actual construction of this program, but rather in its source code. If you know some C++ or you're a curious reader or a computer science student, you will enjoy flipping through the code; it's as much fun seeing the unconventional C++ interpretations of the plot as it is watching it unfold from a birds-eye view in RAM.

If you enjoyed reading The Time Machine or any of H.G. Wells spectacular novels as much as I did, you will undoubtedly enjoy reading through the source and stepping through this program as it runs.

Want to know why the program was written the way it was? Read the design document in the 'doc' folder.

tmachine's People

Contributors

cxsoft avatar ebkalderon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.