A gaming framework for AVR based on AVGA library