Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.
/ SARAS Public archive

SARAS is a maze game in which you have to get the player to the end of the maze within the time limit! The above game is developed by Group SARAS from D4B consisting of Suyog, Aryamaan and Rutuj.

License

Notifications You must be signed in to change notification settings

RedddFoxxyy/SARAS

Repository files navigation

SARAS

The above game is developed by Group SARAS from D4B consisting of Suyog, Aryamaan and Rutuj. Saras is an interactive maze game written using SDL library in C programming language. You can find the actual code in library.c file and the command script to compile the code in CmakeLists.txt file. You will be needing the SDL library installed in your gcc compiler files, or you have to link the SDL library files using make or cmake. Steps to install SDL for mingw64 gcc and g++ compilers is given below:-(Also note that the actual code files are in the main branch of the repository)

Installation of game:-

  • Go to releases on the github link of game and download the latest release .exe game file. Then download the SARAS V1.3.exe and run it. Follow the on screen instruction to install it. Once installed go to the SARAS(V1.3) folder and run SARAS_codeblocks.exe to start the game. Your antivirus ight try to stop the exe file from being run, you have to disable the antivirus and then run the exe file. Windows protection screen might also appear, you have to click on more options and then click run anywway. If you are using a chromium based browser the browser might tell the file is not safe, click on keep anyway.

Compilation:-

  • The code can be compiled using Codeblocks or using any other IDE that supports C. For codeblocks, download the mingw32 version of codeblocks and link the libraries in the include folder of the repository then open the .cbp file and build the main.c file to compile the game. Remember you have to edit the file paths in the main.c file according to your pc! For other IDEs the compilation is given below:-

Download and install msys2 64bit

Update msys2

  • Update msys2 64bit after install by running pacman -Syu if pacman needs to be updated you might have to close and reopen the terminal and run pacman -Syu again

Install mingw64 gcc compiler

Now enter the following command:-

pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain

Install build tools

pacman -S git mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_net mingw64/mingw-w64-x86_64-cmake make

About

SARAS is a maze game in which you have to get the player to the end of the maze within the time limit! The above game is developed by Group SARAS from D4B consisting of Suyog, Aryamaan and Rutuj.

Resources

License

Stars

Watchers

Forks

Packages

No packages published