Introduction to AI Programming: Build a Strategy Game

Artificial intelligence is entering all our lives in surprising and unexpected places. From your online shopping experience, to your voice controlled mobile phone, to automated telephone assistance, the algorithms behind our technology are having a huge impact on our lives. Algorithms are out-performing humans in a number of areas, with world-champions in games like chess and Go being beaten by computers.

In this course we will provide an introduction to some artificial intelligence techniques through the creation of a game-playing computer program. We will use the Connect 4 game, where players drop counters into a grid and attempt to connect four counters in a row.

This course is ideal for those taking their first steps in exploring programming and AI for fun or as a career.

Course Outline



Suitable For

Adults and Teenagers


Learn the basics of artificial intelligence by programming your computer to play Connect 4.


Approaches in AI

We will take a brief look at various strategies for AI programming.

Noughts and Crosses

We will examine some AI approaches for a simple Noughts and Crosses game.

Defining the Problem

We will create a model of our Connect 4 game to represent the game state. We will write some code in Python to implement the model.

Searching for a Solution

We will apply what we learnt from our examination of the Noughts and Crosses game to search for the best move from a given Connect 4 game state. We will write some code in Python to implement the search.

Optimising our Search

We will look at ways to make the search quicker. We will write some code in Python to implement the improvements.

Other AI Techniques

We will take a look at other AI techniques such as neural networks and decision trees.

Personal Improvements

Students advancing rapidly through the content will have a chance to make further improvements under the guidance of the tutor.


Full price individual: £160

Concession individual: £120

Concession pricing is available to anyone in full time education.

Skills you should have before you attend

You should be proficient in Python

What courses can I do before ?

To prepare for this course you can attend the following courses:

Introduction to Programming: Build Applications with Python

Skills you will pick up in the course

Key skill categories

On successful completion of this course, students will be able to


This course can be customised and delivered at a mutually-convenient time and place for groups


Notify me when new dates become available.