Skip to content

Connect Four game developed in C++ using Object Oriented Programming principles.

Notifications You must be signed in to change notification settings

isenkasa/connect-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four

Connect Four console game developed in C++ using Object Oriented principles.

How to compile

g++ -std=c++14 -c -o gamedriver.o gamedriver.cpp
g++ -std=c++14 -c -o Board.o Board.cpp
g++ -std=c++14 -c -o Chip.o Chip.cpp
g++ -std=c++14 -c -o Player.o Player.cpp
g++ -std=c++14 -o connect-4 gamedriver.o Board.o Chip.o Player.o

How to run

./connect-4

Video demo

Link: https://youtu.be/tUb1y23Y5f0

General description of the source files

  • Chip.h contains the Chip class definition and functions.
  • Chip.cpp contains the Chip class implementation.
  • Board.h contains the Board class definition and functions.
  • Board.cpp contains the Board class implementation.
  • Player.h contains the Player class definition and functions.
  • Player.cpp contains the Player class implementation.
  • gamedriver.cpp contains the main function that runs the program.

About

Connect Four game developed in C++ using Object Oriented Programming principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages