An implementation of the War card game with PHP.