Human player thread function implemented