War card game written in ruby