move computer's move functionality to main html file