mtnhome3d #1 you deleted your players and your enemys and you didn't tell it run through a main loop so when it does the functions instructions it ends the program.