The topic of this thesis was programming a five-in-a-row game on an Android system. As a traditional game, five-in-a-row has many faithful fans, the most popular five-in-a-row game on Google Play has about 5 million downloads. Five-in-a-row has simple rules, it is easy to play but hard to master. Designing a satisfactory algorithm for the five-in-a-row computer player was the main aim of the study. This game has a single player mode as the main function. In this mode the players can play against a computer player, which is supported by an algorithm. In addition, the game also allows players to save their record in their local account, and players can set configurations for other functions. The application was developed for an Andro...