endgame opCode added
endgame added to MainWindow.xaml.cs