# Blog

## Archive

Show me a random blog post**2019**

### Jun 2019

Proving a conjecture### Apr 2019

Harriss and other spirals### Mar 2019

realhats### Jan 2019

Christmas (2018) is over**2018**

**2017**

**2016**

**2015**

**2014**

**2013**

**2012**

## Tags

world cup data final fantasy european cup national lottery rhombicuboctahedron polynomials reddit books chebyshev stickers accuracy braiding the aperiodical video games folding tube maps hexapawn golden spiral logic plastic ratio sorting sound binary pac-man fractals countdown interpolation draughts realhats pythagoras geometry asteroids programming pizza cutting harriss spiral mathsjam menace golden ratio mathslogicbot royal baby platonic solids manchester light martin gardner hats curvature trigonometry gerry anderson tennis game of life dragon curves puzzles misleading statistics latex wool london ternary reuleaux polygons raspberry pi chalkdust magazine estimation dates football go php game show probability triangles noughts and crosses a gamut of games oeis arithmetic electromagnetic field sport error bars statistics mathsteroids palindromes weather station matt parker christmas card probability people maths flexagons craft machine learning christmas dataset graph theory manchester science festival python propositional calculus nine men's morris captain scarlet inline code rugby games aperiodical big internet math-off twitter bodmas speed coins folding paper javascript chess frobel radio 4 cross stitch london underground approximation news bubble bobble map projections## MENACE at Manchester Science Festival

**2017-11-14**

A few weeks ago, I took the copy of MENACE that I built to Manchester Science Festival, where it played around 300 games against the public while learning to play Noughts and Crosses. The group of us operating MENACE for the weekend included Matt Parker, who made two videos about it. Special thanks go to Matt, plus
Katie Steckles,
Alison Clarke,
Andrew Taylor,
Ashley Frankland,
David Williams,
Paul Taylor,
Sam Headleand,
Trent Burton, and
Zoe Griffiths for helping to operate MENACE for the weekend.

As my original post about MENACE explains in more detail, MENACE is a machine built from 304 matchboxes that learns to play Noughts and Crosses. Each box displays a possible position that the machine can face and contains coloured beads that correspond to the moves it could make. At the end of each game, beads are added or removed depending on the outcome to teach MENACE to play better.

### Saturday

On Saturday, MENACE was set up with 8 beads of each colour in the first move box; 3 of each colour in the second move boxes; 2 of each colour in third move boxes; and 1 of each colour in the fourth move boxes. I had only included one copy of moves that are the same due to symmetry.

The plot below shows the number of beads in MENACE's first box as the day progressed.

Originally, we were planning to let MENACE learn over the course of both days, but it learned more quickly than we had expected on Saturday, so we reset is on Sunday, but set it up slightly differently. On Sunday, MENACE was set up with 4 beads of each colour in the first move box; 3 of each colour in the second move boxes; 2 of each colour in third move boxes; and 1 of each colour in the fourth move boxes. This time, we left all the beads in the boxes and didn't remove any due to symmetry.

The plot below shows the number of beads in MENACE's first box as the day progressed.

You can download the full set of data that we collected over the weekend here. This includes the first two moves and outcomes of all the games over the two days, plus the number of beads in each box at the end of each day. If you do something interesting (or non-interesting) with the data, let me know!

### Similar posts

MENACE | Building MENACEs for other games | MENACE in fiction | The Mathematical Games of Martin Gardner |

### Comments

Comments in green were written by me. Comments in blue were not written by me.

**2017-11-22**

**Add a Comment**

2018-11-16g0mrb