added config based player lives behavior

see #5, #29