Search for Science Fair Projects

1000 Science Fair Projects with Complete Instructions

Computer Science Science Fair Project

Artificial Intelligence: Can a Neural Network Play Connect 4?

Hard
Artificial Intelligence: Can a Neural Network Play Connect 4? | Science Fair Projects | STEM Projects
Can a computer program learn to play Connect 4? In this project, you'll create a computer program that uses a neural network to learn how to play the game. You'll use a genetic algorithm to train the neural network and see if it can beat a human opponent.

Hypothesis

The hypothesis is that a neural network can learn to play Connect 4 well enough to beat a human opponent.

Method & Materials

You will create a computer program that plays Connect 4 with a simulated opponent, and then use a genetic algorithm to train a neural network.
You will need a computer, a Connect 4 board, and tokens.

Results

The neural network was able to beat the simulated opponent, but the human player was still able to beat the neural network. This shows that the neural network did not have all the information it needed to be very good at the game.

Why do this project?

This science project is unique because it uses a neural network to learn how to play a board game, and it shows that artificial intelligence can be used to learn how to play a game.

Also Consider

Experiment variations to consider include having the neural network play against multiple opponents with different strategies, or having the neural network play against the human player.

Full project details

You can find additional information and details for this science fair project here. Have fun exploring!
Share this Science Project:

Related Science Fair Project Ideas

Diffusing Solids
Learn how to program a computer to calculate the rate of diffusion between solids!
Hard
The Monopoly Mystery
Can a computer's personality determine who wins the game of Monopoly? Find out in this experiment!
Hard
Neurotic About Neurons
Can a neural network be trained to identify decimal digits using Visual Basic and Excel? Find out in this exciting science project!
Hard
Share this Science Project: