You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Set "Source Folder" (1) to this project root dir. Then, set "Build Folder" (2) to a NEW _relative_ folder `/build` or `/out`.
34
-
- Ensure "CMAKE_BUILD_TYPE" is **Release** (see image above, blue highlight). Ignore other settings. Then (3) click "**Configure**".
34
+
- Ensure "CMAKE_BUILD_TYPE" is **Release** (see image above, blue highlight). Ignore other settings. Then (3) click **Configure**.
35
35
- In the popup window, choose generator **'Unix Makefiles'** if on Linux; choose **'XCode'** if on MacOS. Choose **'Visual Studio'** if on Windows. Then click OK to save.
36
-
- Click **'Configure'** once again, then **'Generate'**.
36
+
- Click **Configure** once again, then **Generate**.
37
37
- Finally, on Windows or MacOS, click **Open Project** for building in respective IDE. On Linux desktop, open build folder, then run `make all` in Terminal.
38
+
39
+
### Important:
40
+
41
+
For macOS-specific guide with XCode, please [cmake/README.md](cmake/README.md)
Copy file name to clipboardExpand all lines: README.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# space - checkers
2
2
3
3
Offline & Online Multiplayer Checkers game in C++ built with SFML 2.6, imGui, Protobuf and ixWebsockets. With very minimal dependencies
4
-
and a simple build process. All dependencies are auto-downloaded (compressed as `.tar.gz`) and built for you using [CPM.cmake](https://github.com/cpm-cmake/CPM.cmake).
4
+
and a simple build process. All dependencies are auto-downloaded (as `.tar.gz`) and configured for you using [CPM.cmake](https://github.com/cpm-cmake/CPM.cmake). The only dependency you need pre-installed on your OS is SFML 2.6.x (or newer).
5
5
6
-
This game can connect to both Private and Public game servers. The Server project for this game is on a separate Git repo, [available here](https://github.com/Longwater1234/checkers-backend) which you can self-host! The only dependency you need pre-installed on your OS is SFML 2.6.x (or newer).
6
+
7
+
This game can connect to both Private and Public game servers. The Server project for this game is written in Golang, and is [available here](https://github.com/Longwater1234/checkers-backend) which you can self-host!
7
8
8
9
### Main Libraries Used
9
10
10
-
- SFML 2.6
11
+
- SFML 2.6.1
11
12
- imGui-SFML
12
13
- ixWebsockets
13
14
- spdlog
@@ -16,8 +17,8 @@ This game can connect to both Private and Public game servers. The Server projec
16
17
17
18
## Requirements for Building
18
19
19
-
- C++17 (or newer) build tools.
20
-
- Pre-built [SFML 2.6.x](https://www.sfml-dev.org/download/sfml/2.6.1/) binaries. (Must match your Compiler and OS)
-[CMake 3.20+](https://cmake.org/download/) or newer (GUI recommended)
22
23
23
24
### For Windows
@@ -26,7 +27,7 @@ This game can connect to both Private and Public game servers. The Server projec
26
27
- MS Visual Studio 2022 or newer (NOT vscode), with "**Desktop C++ Development**" bundle.
27
28
- Please download "Visual C++ 64bit" edition of SFML; ignore others.
28
29
- Move your unzipped `SFML-2.6.x` folder to its own home, example: `C:/SFML/SFML-2.6.1`.
29
-
- Edit **line 25** in [CMakeLists.txt](CMakeLists.txt), to set value `SFML_HOME` to folder path you moved SFML into (see previous step)
30
+
- Edit **line 24** in [CMakeLists.txt](CMakeLists.txt#L24), to set value `SFML_HOME` to folder path you moved SFML into (from previous step)
30
31
31
32
### For macOS (x64 & arm64)
32
33
@@ -58,10 +59,14 @@ This game can connect to both Private and Public game servers. The Server projec
58
59
59
60
- Luckily, Windows and macOS come with their **native SSL libs pre-installed**, so nothing more to do 😁
60
61
61
-
## Building Instructions
62
+
## Build Instructions
63
+
64
+
Please see [BUILDING.md](BUILDING.md) for detailed instructions for each platform.
65
+
66
+
## Code Contributions
62
67
63
-
Please see [BUILDING.md](BUILDING.md) for detailed instructions. For macOS-specific guide with XCode, please [cmake/README.md](cmake/README.md)
68
+
Pull requests are welcome! See GitHub Issues tab to help with new Features. Just kindly remember run `lint.sh` script before you git push. Also, for this project, header files should end with `.hpp`.
0 commit comments