game component of Knife based on canvas