m
modularised functionality into mechanics, io, and ai, with a main file to play in (threes)