Gridlock is a 2-player strategy game that a friend showed me on a whiteboard, and I thought it would be fun to create a digital version. The goal is to connect 4 numbers in a row, using a factor of the number from your opponent's previous turn. I designed the app to fit any size screen, built it using React, and deployed it to Netlify.
Do you like a challenge? I am most proud of the "Computer - Hard" mode in Settings. It is an AI that I created to play against you, which was inspired by chess engines. It uses a minimax algorithm, alpha-beta pruning, and an evaluation function. See if you can beat it!