A fight lib for card game written in PHP