Discussions about interactive fiction

Calculation based math/statistics related games in Inform 7 (?)

Hi Guys,

Sorry if I sound stupid, but I am totally new to IF, but really fascinated by it. . I have a question: is it possible to make a game that includes calculations, say, puzzles that involve calculations? I am thinking of making math/statistics related games using Inform 7 but not like the ‘abstract’ kind of questions that you see in the textbooks. More like a math/statistics related problem that is embedded in a story (using all the IF structures like rooms etc), and which can be solved by inputting text and numbers.

Thanks

Amer

.
posted by admin in Uncategorized and have Comments (5)

5 Responses to “Calculation based math/statistics related games in Inform 7 (?)”

  1. admin says:

    Thanks, Leonardo. Your game seems to be really interesting as I tried to figure it out by using Google translate. I have something similar in mind. I just wanted to know if Inform 7 has the capability;I am glad to know that it has! I will get back to you for more tips once I gain some understanding of the software by reading Aaron Reed’s book.

    Best wishes

    Amer

  2. admin says:

    Here, Amer Khan <amersaleemk…@gmail.com> wrote:

    > Sorry if I sound stupid, but I am totally new to IF, but really

    > fascinated by it. . I have a question: is it possible to make a game

    > that includes calculations, say, puzzles that involve calculations?

    The current version of Inform 7 permits Glulx floating-point math, but

    there’s no tidy interface; you have to write I6 assembly to access it.

    The next release of Inform 7 will offer that functionality in a nicer

    way.

    –Z


    "And Aholibamah bare Jeush, and Jaalam, and Korah: these were the borogoves…"

    *

  3. admin says:

    Thanks Andrew for the info. I am not a programmer therefore perhaps not a good idea for me to get entangled in Inform 6 assembly!!  I hope the next Inform 7 release is coming soon.

  4. admin says:

    a more general question would be… is inform7 Turing complete in it self? i6 almost certainly is, being a general programming language. "lists and lists" proves this nicely :-)

    if i7 is Turing complete then you can write anything you want in it.

  5. admin says:

    Here, dk101 <min…@gmail.com> wrote:

    > a more general question would be… is inform7 Turing complete in it

    > self?

    Sure. It has variables, if statements, and loops. That’s easily

    sufficient for Turing-completeness.

    (This doesn’t tell you anything practical about what a language is

    *good* for.)

    –Z


    "And Aholibamah bare Jeush, and Jaalam, and Korah: these were the borogoves…"

    *

Place your comment

You must be logged in to post a comment.