more work on computer players, still very buggy