added test and implementation for playing cards to cause damage to an opponent
fixed access rights