Project 1: The Missing Piece

This is the first of three game projects aiming to evoke feelings in the player that enable them to better appreciate concepts related to the Christian faith. This online mini-game was written in Javascript. The player is presented with a 3-by-3 sliding-square puzzle, without being told what it is, and without being given information about what the solution would look like. When the square is solved, space for an image of Jesus remains in the centre, and such an image fades in. A caption appears, "Jesus is the missing piece", along with a link to a video with more information.
The purpose of the puzzle was to use a simple mechanism to evoke a feeling of puzzlement as to what the "rules of the game" even were, and to whether there was even any meaningful game present, metaphorically alluding to the search for the meaning of life, experienced by many. Jesus being the missing piece alludes to the bible verse that states, "in him all things hold together". (Colossians 1:17).
Technical challenges to building this puzzle game included a lack of mathematical understanding of which initial configurations were solvable. This necessitated generating the initial configuration by a random step-by-step disordering of the solution configuration.