just some code to test gaming logics