Effects of Exergaming on Cognitive and Social Functioning of People with Dementia