June 19, 2024
Gholam Hossein Roshani

Gholam Hossein Roshani

Academic rank: Associate professor
Education: Ph.D in Nuclear Engineering
Faculty: Faculty ofٍٍ Electrical Engineering


Detecting of human behavioral pattern in rock, paper, scissors game using artificial intelligence
Type Article
Artificial neural networks; Multi-layer perceptron (MLP); Rock paper scissors game; Human behavior; pattern detection; Intelligent player.
Researchers maryam ghasemi، Gholam Hossein Roshani، Abdolreza Roshani


As entertainment tools, computer games are important phenomena in the world, which are considered as a popular medium, an effective educational solution and a considerable economy resource. In this paper, Multi-Layer perceptron (MLP) neural network was used to detect human behavior pattern in rock, paper, scissors game. The similarity of artificial neural networks (ANNs) to the human brain is the main motivation of this study. MATLAB software was used to implement the network code. These codes consisted of two phases: 1) training the ANN to learn the human behavioral pattern considering forty games. 2) real play against a human by doing ten games. After the implementation of the network, its effectiveness in detecting human behavioral patterns was investigated. The network was tested on 40 people (20 women and 20 men). Each player played with the target network in three stages. The results of this study showed that the win percentage of computers with MLP neural network was 57.5% for men and 60.8% for women. While the percentage of the computer without neural networks and with random selections in 60 games was 52.5% for men and 42.5% for women.