Almost finished the visual studio code

Crashes at execution of final bits of code, needs to have an end game
script written for it