flood game in javascript