A Simple Number Guessing Game

Game #1

Game #2

Use floating point numbers. How close to the target number must the the player's guess be to win?
(never test floats for equality)

Game #3

Use positive and/or negative numbers.

Miscellaneous Thoughts

Include snarky messages. (hot, cold, warm, freezing, you are in the next county, you missed by a mile, close but no cigar, ...)