Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ufrshubham/connect4-clone
A Connect4 clone using SFML and C++
https://github.com/ufrshubham/connect4-clone
cpp hacktoberfest sfml sfml-game
Last synced: 18 days ago
JSON representation
A Connect4 clone using SFML and C++
- Host: GitHub
- URL: https://github.com/ufrshubham/connect4-clone
- Owner: ufrshubham
- Created: 2022-04-06T18:04:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-09T07:37:50.000Z (over 2 years ago)
- Last Synced: 2024-12-07T20:41:42.777Z (26 days ago)
- Topics: cpp, hacktoberfest, sfml, sfml-game
- Language: C++
- Homepage:
- Size: 278 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Connect4-Clone
A cross-platform clone of [Connect4](https://en.wikipedia.org/wiki/Connect_Four) game written in C++ using [SFML](https://www.sfml-dev.org/)
## Demo
![Demo](branding/Demo.gif)
## Build Instructions
- Requirements
- Git
- CMake
- C++ Compiler- Steps
```bash
# 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`