Can a robot think like a human being? Scientists in recent years have been trying to achieve this dream, and we are also committed to this same goal. In this paper, we use an example of throwing the ball into the basket to make the robots process with human-like thinking behavior. Such thinking behavior adopted in this paper is divided into two modes: fast and slow. The fast mode belongs to the intuitional reaction, and the slow mode represents the complicated cogitation in human brain. This fascinating human thinking concept is inspired by the book, Thinking, Fast and Slow, which explains the process of the human brain. In addition, the psychology theories proposed in this book are also adopted to realize the thinking algorithms, and our experiments verify that the thinking mode of human beings is reasonable and effective in robots.