game matrix init