Initial poker solution