Skip to content

satayyeb/fop-project

Repository files navigation

Fundamentals Of Programming Project (Island Soldiers)

Description

  • 💻 Implementation of State.io game
  • 🎮 A simple strategic game
  • 💯 100% written in C

Download Build

Build the project (Linux)

Run these commands:

mkdir build1
cd build1
cmake ../
cmake --build .

Build the project (Windows)

  • Make sure CMake is installed in your system.
  • Run the commands above.
  • If build failed, run:
    mkdir build-test
    cd build-test
    cmake-gui
    
  • To generate CMakeCache.txt, do these steps:
    • Set the working directory. (yello arrows)
    • Click Configure. (red arrow)
    • Select a generator. Do not select Visual Studio.
    • Click Configure again.
    • Click Generate.
  • Now, run this:
    cmake --build .
    
  • To run the game (exe file) on Windows, you need to copy the dynamic libraries (or dll files) to the "build-test" folder where the exe is located. The dll files are in "./sdl2/necessary dll files" directory. Copy them where the exe file is located.

CMake-GUI configuration pictures

alt text alt text alt text


Some pictures of the game

alt text alt text alt text alt text


enjoy 😀

About

Fundamentals Of Programming Project

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages