prototype version of online random battle