end of game part1
singlegmame js function order