Re: my first application in euphoria: a simple hangman
- Posted by jimcbrown (admin) Apr 24, 2012
- 1605 views
gbonvehi said...
kobi said...
hi all,
please see http://openeuphoria.org/pastey/117.wc
my first application in euphoria - all suggestions are welcomed!
- library functions i should know about,
Hi Kobi,
I must say it's a very good code for being your first program, great work!
One function that you should use there is wait_key http://openeuphoria.org/docs/std_console.html#_942_wait_key , it stops execution until you press something so you can wait for input instead of refreshing constantly.
keypress = wait_key() -- You can remove the -1 check when using this :)
Cheers,
Guillermo
What about maybe_any_key() ?
http://openeuphoria.org/docs/std_console.html#_953_maybe_any_key

