simple gane with amatrix input