The Alliance with the most points when time runs out wins the War. 

The Alliance that cleared the rooms with the most efficiency (number or rooms cleared, amount of attacks on that room, etc.) will be victorious.