Questions tagged [interactive]
Used for challenges that require user interaction during their runtime
7
questions
52
votes
6
answers
2k
views
Visualize Visual Eyes
You may or may not remember Xeyes, a demo program that came with (and, as far as I know, still comes with) the X window system. Its purpose was to draw a pair of eyes that followed your mouse cursor:
...
35
votes
19
answers
2k
views
Map inputted ASCII characters
Be sure to see the other challenge, Reverse ASCII character map!
The ASCII charset (American Standard Code for Information Interchange) is the most widely-used character encoding standard. ASCII ...
88
votes
61
answers
23k
views
Shut down the computer!
Challenge:
In the programming language of your choice, shut down the machine that your code was executed on.
Rules
No shutting down by resource exhaustion (e.g.: forkbomb to force shutdown)
You are ...
51
votes
26
answers
10k
views
Create a Paint program!
Introduction
One day, you were showing your kid how to draw on a computer. You type mspaint.exe in the run bar. To your horror, it says "No items match your ...
42
votes
25
answers
4k
views
Impatiently wait for input
Your task today is to implement a time limit for getting input, a task I've found rather annoying to achieve in most languages.
You will create a program function which prompts the user for input. ...
36
votes
66
answers
5k
views
Insist on an answer
At runtime, keep prompting for a line of input until the user inputs something (other than an empty newline), i.e. does not just press Enter or OK. Output or result is neither required nor prohibited.
...
19
votes
18
answers
5k
views
Create a simple line editor
In: a string without line breaks*
Allow the user to edit and submit the line
Out: the modified string (optionally with a trailing linebreak)
The line editor must at minimum allow the user to:
move a ...