Skip to content

This repo exists because all my other work on GitHub is in private repos I don't own and I thought I should have something here that is mine. Here are some versions of a silly game I heard of and figured out how to write on my programmable calculator when I was bored in math class in 1987, with additions like input validation and computer guesses.

License

Notifications You must be signed in to change notification settings

matthewhelmke/GuessMyNumber

Repository files navigation

GuessMyNumber

Guess My Number is a silly little game that I first heard about and wrote a version of on my Casio fx-7000G programmable calculator during a bored moment in math class in 1987. The versions here include a couple of additions like input validation and computer guesses.

This repo exists because all my other work on GitHub is in repos I don't own, often in private repos, and I thought I should have something here that is mine.

I assume you will run each of these on Linux.

I have chapters in one of my books for shell scripting, Python, Perl, and PHP. I figured they are all must-have languages here. The other languages are here because I was in the mood to either remember or learn how to use it for this simple use case that day.

I wrote these, in this order:

  • Python
  • Bash
  • C
  • Perl
  • PHP
  • Racket (based on Scheme, which is based on Lisp)
  • COBOL
  • Go
  • Ruby

Future ideas/plans:

  • Dunno. Maybe Java? Erlang? gForth? Rust? Something else??

Code contributions via PR are welcome, but thus far everything here has been written by me. I'll edit this note if that changes.

About

This repo exists because all my other work on GitHub is in private repos I don't own and I thought I should have something here that is mine. Here are some versions of a silly game I heard of and figured out how to write on my programmable calculator when I was bored in math class in 1987, with additions like input validation and computer guesses.

Resources

License

Stars

Watchers

Forks