Zach Whitecloud and Jake Middleton provided all the offence needed with a pair of first-period goals, and Devin Cooley turned aside 29 of 30 shots as the Calgary Flames defeated the Detroit Red Wings 3-1.