start of framework for smarter computer player