numberguess

Im sorry this page is horrible, it will might be rewritten soon..

Q: What is this then?
A: This is an collection of the same number guessing game in multiple
programming languages.
Q: And their licence's?
A: They are licensed under the GNU GPL v2.
Q: Who wrote them?
A: I wrote those who aren't contributed (Patrik Nilsson / blambi).
Q: WHY?
A: Because I think this shows more of a programming language than a
simple Hello World and isn't too complicated to understand.
Q: Some have comments others don't? Why?
A: Well, most often, the code explains itself. Other languages use a lot
of "extra" steps that I think need some explanation.
Q: This isn't a readme, it's an FAQ!
A: And that isn't a question.
Q: Can I contact you somehow?
A: mail: blambi@chebab.com and jabber: blambi@lysator.liu.se are the
best ways.
Q: I wrote a guess.(some unlisted language). Can you add it?
A: I will as long as your source is licenced under the GNU GPL and the
language is available under a free software license.
Q: Current languages written for?
A: These:
File:Language:
guess.pyPython
guess.plPerl
guess.shBash
guess.cC (ISO C90)
guess.cppC++ (ISO C++)
guess.hsHaskell (contributed by ValarQ (vq.at.telia.com))
guess.awkawk (contributed by ValarQ (vq.at.telia.com))
guess.clclisp
Guess.javaJava (contributed by shadewind (shadewind.at.gmail.com))
guess.tclTcl (contributed by nymacro (nymacro.at.gmail.com))
guess.mlocaml (contributed by nymacro (nymacro.at.gmail.com))
guess.ioIo (contributed by nymacro (nymacro.at.gmail.com))
guess.scmScheme (contributed by ValarQ (vq.at.telia.com))
Q: Hmmm... how do I compile the C/C++/Java/Haskell versions?
A:
C:
$ gcc -o guess guess.c
C++:
$ g++ -o guess guess.cpp
java:
$ gcj -c -g -O Guess.java
$ gcj --main=Guess -o Guess Guess.o
Haskell:
$ ghc guess.hs

License: GPL v2.

2014-05-26