@dongtuuyen haven‘t read anyone here mentioning he/she develop a game in lua, but libretro has some examples of functional games here:

https://github.com/libretro/lutro-platformer
https://github.com/libretro/lutro-game-of-life
https://github.com/libretro/lutro-snake
https://github.com/libretro/lutro-tetris
https://github.com/libretro/lutro-iyfct
https://github.com/libretro/lutro-pong