My Connect4 Computer Project

My name is Daniel and I'm in 5th grade. Most of you probably know me or my dad, and I am wondering if you could help me with my science fair project

About my science fair project

For my science fair project I wrote a Connect4 computer game in Java. I wrote 2 different Connect4 algorithms that control the computer opponents. By automatically collecting data about the games that are played, I hope to figure out which algorithm works the best.

You can help me by playing lots and lots of Connect4 games. If your computer doesn't already have Java then you will need to install it first. After that, click the "Play Connect4" link below to download and run my program. It will automatically create a shortcut to the game on your desktop.

In order for me to collect data you must be connected to the Internet while you play. If you aren't connected a message will pop up to warn you. My dad says that we might need to register your IP address with the database.

The more games you play, the more you help my project. You play matches against the computer opponents, where a match is two games. After every match the computer changes the opponent. If you win or lose a match your level will increase or decrease. The higher the level the harder the games.

If you have questions about my project then you can e-mail me and my parents by clicking the e-mail button below. Thank you for your help!

Technical Details from My Dad

Daniel's game is easy to play, but there are couple steps to complete before you can play for the first time.

  1. Java must be installed on your computer. Many computers are sold with Java already installed, but some newer computers may not have it. It is easily installed from Oracle using the link above.
  2. We need to register your IP address with the game's central database, so that the game and the database can communicate. This is required by our web hosting service, to protect the web server. Your IP address is a sequence of 4 numbers that your internet service provider transmits every time that you connect to a web site (i.e. 67.255.69.33). You can find yours by visiting the website www.whatismyipaddress.com. Send the IP address to Daniel using the e-mail button above, and we will give you access to the database.

Click the "Play Connect4" link to play the first time. If your browser is Internet Explorer or Firefox then the game should start right after you click "Run" on a pop-up security window. The Chrome browser might require an additional click on a file called "ConnectFour.jnlp". With Microsoft Edge, the game never starts. All versions of Windows include Internet Explorer, including Windows 10. We haven't tried to run the game from an Apple computer. After running it once, you can use a desktop shortcut to run it every other time.

The science fair is mid-March 2016. If you quit playing games after that, then Java will eventually delete Connect4 from its temporary directory. You can delete the shortcut from your desktop, and then the game will be gone from your computer.

Daniel has spent several months creating this game, and now he needs people like you to play it so that he can complete his project. Thank-you for your interest in helping him.

     -Michael