Code Challenges


I am by no means a "programmer" or "coder", a quick glance at my source code will confirm this. I do, however, enjoy the process and challenge of building something with code.

Due to my background in web development, I have foundational knowledge of HTML, CSS, Javascript and jQuery.

Below is a selection of Code Challenges I've done.

  • Game: Tic Tac Toe Built in 2021   |   Show details

    How this game works

    • Each player takes turn to place their marker.
    • If a player gets three of their markers in a row (horizontally, vertically or diagonally) they win.
    • If 9 markers are placed and neither player gets 3 in a row, the game is over.
  • Game: Memory Built in 2021   |   Show details

    How this game works

    • The user selects game difficulty. Easy has 6 matches. Medium has 10 matches. Hard has 20 matches.
    • The cards are shuffled.
    • During gameplay, a countdown timer tracks time remaining, clicks are tracked and matches are tracked.
    • When two cards are turned over, they are checked to see if they match. If they match they stay face up and are no longer selectable. If they don't match they are turned face down and put back into game rotation.
    • If all cards have been matched within 2 minutes, the user wins.
    • If the countdown reaches 0 and there are still unmatched cards, the game is over.
  • Game: 8 Puzzle Built in 2021   |   Show details

    How this game works

    • The user selects a puzzle they would like to solve.
    • The selected puzzle pieces are shuffled.
    • A check is performed to ensure that the game is solvable, for a game to be solvable an even number of inversions are required. If the game is not solvable, the cards are reshuffled until a solvable game served up.
    • During gameplay, time elapsed and clicks/moves are tracked.
    • The user attempts to get all puzzle pieces into their correct position.
    • The user is only able to move pieces that are adjacent to the blank cell.
    • If all puzzle pieces are in their correct position, the user wins.
    • If the puzzle is not solved within 60 minutes, the game is over.
  • Game: Simon Says Built in 2021   |   Show details

    How this game works

    • This is a simple game of Simon Says
    • Repeat the randomised pattern of button clicks
  • Game: Snake Built in 2022   |   Show details

    How this game works

    • This is a classic game of Snake
    • Eat food tiles to grow the snake
    • Eat accelerate tiles to speed the snake up
    • Eat reversal tiles to flip your controls
    • Eat poison to shrink the snake
    • Game ends when snake runs into a wall, or runs into itself.
  • Game: Wuzzle Built in 2022   |   Show details

    How this game works

    • Guess the mystery word in six tries.
    • Each guess must be a valid 5 letter english word. Click the tick icon, or enter to submit your guess.
    • After each guess, the colour of the tiles will change to show how close your guess was to the word.
    • A green tile means you have the correct letter, in the correct position.
    • An orange tile means the letter appears in the word, but you have it in the wrong position.
    • A grey tile means the letter doesn't appear in the word.
    • Game inspired by Wordle.
  • Game: Numble Built in 2022   |   Show details

    How this game works

    • Guess the mystery number in six tries.
    • Each guess must consist of 5 digits. Click the tick icon, or enter to submit your guess.
    • After each guess, the colour of the tiles will change to show how close your guess was to the number.
    • A green tile means you have the correct digit, in the correct position.
    • An orange tile means the digit appears in the number, but you have it in the wrong position.
    • A grey tile means the digit doesn't appear in the number.
    • Game inspired by Wordle.