Science Fair Projects

Unbeatable PONG through Artificial Intelligence

Abstract

The objective: Since the dawn of the industrial revolution machines have worked side by side with humans, but they have not always been able to reason out and overcome human inconsistencies. The goal of this project was to make an artificially intelligent computer program to play the novel game, PONG. The computer program mimicked human thought processes, and its programmed speed and efficiency was tested against humans. My null hypothesis was that there would be no difference in the success of a computer controlled paddle and a human controlled paddle while playing the PONG game.

Methods/Materials

Three programs of PONG were written to determine the successes of both humans and a computer program while playing PONG. Human vs. wall and computer vs. wall games were used to gather baseline data, and a human vs. computer game was designed to compare relative successes in an actual competition. The computer used a modified slope-intercept equation to predict where the ball would intercept the wall, and moved its paddle to the point of intersection. The number of successful hits by each player was divided by the total number of possible hits; this rendered a percentage of successful hits and rates of success. I used the baseline tests as controls to compare to the results from the human versus computer game. These programs were written using Microsoft Visual C# Studio.

Results

All computer trials, both against a wall and against a human opponent, obtained a 100 percent success rate. Human success rates ranged from 62 to 85 percent in both the baseline tests and the actual game, with an overall average success rate of 73 percent.

Conclusions/Discussion

The null hypothesis that there would be no difference in the success rate of a computer programmed paddle versus a human controlled paddle while playing PONG was rejected (P < .001). The computer was significantly more successful than humans while playing PONG. My results demonstrated how a computer or machine can be programmed to carry out human tasks much more efficiently than a human. The results also demonstrate how computers can react logically and more efficiently than humans. The results also show that the use of computers to calculate predictions could easily be expanded to be used in assembly lines with on the fly adjustments and self troubleshooting capabilities to minimize the effects due to human error.

This computer project is about artificially intelligent computer programs to test against humans.

Science Fair Project done By Sean S. Haas

 

Related Projects : Salmonids by Numbers II, Continual Adaptation of Acoustic Models for Domain-Specific Speech Recognition, Effects of Motility and Contact Inhibition on Tumor Viability, Transportation Networks and the Propagation of Novel H1N1 Swine Flu-like Epidemics, Novel Genetics-Based Early Disease Detection Using Ontology-Driven Microarray Semantics, A Novel Approach to Text Compression Using N-Grams, Malware Identification by Statistical Opcode Analysis, Real-Time Markerless Hand Computer Interaction, Cracking the Code, Examining File Compression in Computers, Programming for the Computer and iPhone Platforms, Some Reasons a Computer Slows Down, Turbo Charging Computer with Mathematical Algorithms

 

<<Back To Topics Page........................................................................................>> Next Topic

 

 

Copyright © sciencefairprojects.co.in 2013 through 2015