\input zb-basic \input zb-matheduc \iteman{ZMATH 2012f.00431} \itemau{Uhrinov\'{a}, Eva} \itemti{Using games in teaching mathematics. (U\v{c}me matematiku pomocou hry.)} \itemso{\v{S}ediv\'y, Ondrej (ed.) et al., Zborn{\'\i}k vedeck\'ych pr{\'\i}spevkov z IX. nitrianskej matematickej konferencie. Nitra: Constantine The Philosopher University in Nitra, Faculty of Natural Sciences (ISBN 978-80-8094-958-7). Pr{\'\i}rodovedec 476, 221-224 (2011).} \itemab In this contribution, we emphasize the importance of games as an appropriate teaching method in mathematics. The knowledge that pupils achieve through games remains longer in memory and does not have a formal character. The contribution discusses the game `NIM candy' which we used on the scientific fair, organized by the Faculty of Natural Sciences of Constantine the Philosopher University in Nitra in the shopping centre Mlyny. \itemrv{J\'{a}n \v{S}underlik (Nitra)} \itemcc{D44 U64 A24} \itemut{games; teaching methods} \itemli{http://www.km.fpv.ukf.sk/MathEduc.php} \end