connect to db
save game result
use array for player cards, and judge poet type
modify layout and result judging