HTML 5 Version of a turn based risk like game involving dice