change CaPlayer to class

to provide more variety upon replay