Great game dude, I do have a suggestion for the main menu. (il just post it really simple cause i am not a programming beast or something haha)
Main menu:
var troopcountBlue
var troopcountRed
if "troopcountBlue" > 3 function spawn=false
if "troopcountRed" > 3 function spawn=false
-------------------------
Because right now in the main menu often, either blue or red totally destroys the opponent and troops keep spawning in. I think this would fix it? I dont know if it can be done this simple.Again I really love your game :)
---------------------------------------