The transgender teenager that opened fire in a remote Canadian school had created a video game to allow players to simulate a mass shooting.