Skip to content

Files

Latest commit

578f148 · Apr 9, 2022

History

History
43 lines (28 loc) · 1 KB

README.md

File metadata and controls

43 lines (28 loc) · 1 KB

Connect4-Clone

A cross-platform clone of Connect4 game written in C++ using SFML

Demo

Demo

Build Instructions

  • Requirements

    • Git
    • CMake
    • C++ Compiler
  • Steps

    # Clone this project along with submodules
    $ git clone --recursive https://github.com/ufrshubham/Connect4-Clone
    
    # Go to project root
    $ cd Connect4-Clone
    
    # Pull SFML as submodule (if you cloned without --recursive flag)
    $ git submodule update --init
    
    # Create a folder for build
    $ mkdir build
    
    # Go to build folder
    $ cd build
    
    # Generate project files
    $ cmake ..
  • This will generate project files using default cmake generator for your platform. For example:

    • on Windows with Visual Studio installed, it will generate a .sln
    • on Linux with make installed, it will generate a Makefile
    • on Mac with xcode installed, it will generate a .xcodeproj