The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Corsair Utility Engine (CUE) 1.x and 2.x > CUE 1.x and 2.x SDK

Thread Tools Search this Thread Rate Thread Display Modes
Old 01-10-2017, 04:29 PM
Konachan Konachan is offline
Registered User
Join Date: Jan 2017
Posts: 2
POST ID # = 886093
Konachan Reputation: 10
Default Hangman (for RGB Keyboards)

I played along with the SDK and ended up in making a small Hangman game with the lights. It's nothing special and I can't claim that the source code is nice, clean and safe but it does its thing. It's done using c++ and some classes of Qt (QString and QVector). To get the words it uses a wordlist (wordlist.txt). The one in the zip (as an example) is that one:

Do whatever you want with the Code or the Source, but keep the license of Qt (GPU) in mind.

The Game:
It displays the "word" with the numberkeys (example: a Word with six letters: the keys 1, 2, 3, 4, 5, 6 would glow in a light red) (that results in a maximum word length of 10 characters (words longer than 10 in the wordlist will be ignored))
The lives are displayed with the Num keys.
You can press all keys from a-z. If the key is in the word, the position will light up in the same color as the key (example: word: "well"; 1,2,3,4 will light up. "l" is pressed -> the L-key and 3,4 will light up in blue or something (every right key will get its own color. That way you can tell on wich position in the word the letter is.)).
If you guessed a word OR lost all lives the game will start again with a new word. To close the game close the console window or press Ctrl+C.

Regards, Konachan
Attached Files
File Type: zip (2.93 MB, 157 views)
File Type: zip (22.2 KB, 129 views)

Last edited by Konachan; 01-10-2017 at 04:39 PM. Reason: Forgott to describe the Game

hangman, minigame, sdk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 09:10 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.