Here's a simple game that uses mouse input on the console. It involves clicking on the blue buttons (really char 0xdb) as fast as possible. It first displays instructions, then sets the console to 80x25 mode, sets the input and output modes (like no QuickEdit, no wrap at EOL output, etc.), sets code page 437 (the default on my system, but I think some systems have another code page as default), clears the screen, and starts the game. It uses ReadConsoleInput to read the mouse input events.
Description: |
Source and exe |
Download |
Filename: |
msgame.zip |
Filesize: |
4.07 KB |
Downloaded: |
313 Time(s) |
|
|