Changed logic to take empty spaces into account.
Changed the default resolution, because the window wouldn't fit on my tiny screen.
Removed obsolete getCards from Logic