Hangman

So continuing with classic games made in C++, another of my assignments was making a version of hangman in C++.
hangman

The game uses a large pool of words to randomly pick from and display, all letters are clickable and highlight (correct or not) after use. After 6 incorrect guesses you lose and the game restarts.

Tetris

So as part of my TAFE course I completed versions of several classic games using C++
One of these games is tetris

tetris

It includes 7 different pieces, which appear in a random order. The game has all the features of the classic tetris, fast drop, piece rotation and movement and line clearing

tetrisRowClear

This code checks if a row needs to be cleared, works out which row is full and passes the first row to clear to the function which clears the row.
It accomplishes this by checking it there are any empty positions on the X axis at each position on the Y axis, moving from top to bottom