C++ Golf Sim built using RayLib
WARNING - This is software is pre-pre-pre-alpha. You should expect it to break and be buggy.
That is all.
- Follow the appropriate installation instructions for your distro.
- Currently using gcc version 15.0.1-0
- Follow the appropriate installation instructions for your distro.
- Currently using GNU Make 4.4.1
- Follow the instructions on the Raylib GitHub page: https://github.com/raysan5/raylib
- Make sure to install the built files so that they are findable by the pre-processor/linker using
make install
or other variation.
- Clone repository into a local folder
git clone https://github.com/jhauck2/JaySim.git
cd JaySim
- Create a folder in the src directory for the nlohmann json library
cd src
mkdir nlohmann
- Go to https://github.com/nlohmann/json and download the json.hpp file from the single_include/nlohmann folder
- Copy/move this file into the src/nlohmann folder
- Navigate to the root directory.
cd ..
(orcd ../..
if currently in the nlohmann folder). - Create the build directory:
mkdir build
- Run
make
to compile the program - All *.o files and the executable should be located in the build directory.
make run
or./build/jSim
to run the program- Note: JaySim uses port 49152 for connection with a LM. If you need to change this port for any reason you can change the value in the file
TCPSocket.hpp
and rebuild withmake
ormake run
- JaySim does not currently build on Windows and