Each game is built using front-end web technologies. The links below are tutorials and writeups that will help you understand how they are constructed.
Heroes And Villains Matching Game
Tic Tac Toe
Minesweeper
Minesweeper No jQuery
Snake
Hangman
Crossword Puzzle Generator
Magic Eight Ball
Dice Wars