2048 AI – The Intelligent Bot

Introduction In this article, we develop a simple AI for the game 2048 using the Expectimax algorithm and “weight matrices”, which will be described below, to determine the best possible move at each turn. The implementation of the AI described in this article can be found here. The source files for the implementation can be…

Solving Sudoku by Backtracking

In this project, we look at the backtracking algorithm¬†to solve Sudoku puzzles. Here is the Javascript implementation¬†of the backtracking algorithm that will be explained in this article. Getting back on track The primitive brute force approach is to fill up all of the blank spaces randomly with numbers from 1 to 9 until a valid…