simonzhang0428 / Connect_Four

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect_Four

PIC 20A UCLA, 2021 Winter, with Prof David, Hyde

Final project, Connect Four with Console/GUI/AI three versions

RandomAI.java creates an AI that plays pieces randomly.

SimonAI.java creates an intelligent AI that plays pieces strategically.

GUICF.java creates a GUI that displays the board and the pieces played.

CFGame.java creates the basic structure of the game.

ConsoleCF.java creates single player, two player, and AI only games.

How to Run

Put every file in a folder labeled Connect-Four on your desktop.

Go to the command line and navigate to your desktop.

Compilation: $ javac Connect_Four/main.java

Runtime: $ javac Connect_Four.main

About


Languages

Language:Java 100.0%