A battle of programs in a virtual machine