Developing strategic and mathematical thinking via game play: programming to investigate a risky strategy for Quarto

ROWLETT, Peter (2015). Developing strategic and mathematical thinking via game play: programming to investigate a risky strategy for Quarto. The Mathematics Enthusiast, 12 (1-3), 55-61.

[img] PDF (Acceptance e-mail)
Rowlett - 10941.pdf
Restricted to Repository staff only

Download (153kB)
Official URL:


The Maths Arcade is an extracurricular club for undergraduate students to play and analyse strategy board games, aimed at building a mathematical community of staff and students as well as improving strategic and mathematical thinking. This educational initiative, used at several universities in the U.K., will be described. Quarto is an impartial game played at the Maths Arcade, in that there is one set of common pieces used by both players, and one where stalemates are a common outcome. While some students play without apparent direction until a winning opportunity appears, others adopt a more risky strategy of building the board towards a winning position, which could allow either player to win. Whether building towards a win is a sensible strategy, when the other player could equally well benefit, is a topic of debate at the Maths Arcade. Intending to suggest a possible student project, this article will describe a method to represent Quarto as an array of binary numbers, making the game suitable for programming in Python. Then, one strategy is programmed to play at random unless a winning move becomes available, while another is programmed to work towards a winning position. These are calibrated by playing against a completely random strategy and against themselves, then they are played against each other. The more risky strategy is found to win over the more naive player in around two thirds of one million games. Some limitations and possible areas of development are discussed.

Item Type: Article
Departments - Does NOT include content added after October 2018: Faculty of Science, Technology and Arts > Department of Engineering and Mathematics
Page Range: 55-61
Depositing User: Peter Rowlett
Date Deposited: 04 Feb 2016 16:07
Last Modified: 18 Mar 2021 04:10

Actions (login required)

View Item View Item


Downloads per month over past year

View more statistics