switched form html table to some actual game engine