A risk like game in javascript