letterpress clone in javascript, with rudimentary AI player