Several studies have shown that exercising improves cognition better than brain training games and activities. Alcohol does impact cognition if it is binge drinking, or you exceed 2+ drinks/day. Though it does take years of drinking for it to be visible.