add changeStateByName, but still can't solve play button bug
remove old code
adjust format. Still have play button bug
add velo and accel. Add flip support
test play and exit button