fixed small bug of cards not moving correctly, added ability to test on cmdline