How to make games using html java and css

Hello for months I was finding a way to make games using kodular without using the iframe thing, open source games will do too.
Finally I came up with an AIA file of a popularly know Open-Source game 2048.
I was unable to contact the creator but I have got the aia file but I also want to make other open-source html games to app so i need help.
I have included the Aia file link can anyone explain me the concept used in the aia file?
Thanks in advanceGame2048.aia (41.4 KB)