ref(game): modularize the main controller and view
fix(deck): end game calculation of Haunted City

check if the ability is active