Detecting of human behavioral pattern in rock, paper, scissors game using artificial intelligence

Document Type: Original Article

Authors

1 MSc Student, Department of Electrical Engineering, Faculty of Energy, Kermanshah University of Technology, Kermanshah, Iran

2 Assistant Professor, Department of Industrial Engineering, Faculty of Engineering Management, Kermanshah University of Technology, Kermanshah, Iran

10.22115/cepm.2020.215668.1081

Abstract

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.

Keywords

Main Subjects