Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS224-HW4-Fall2023

Relevant instructions can be found in HW4.pdf.

For Windows/Mac Users

  • Open the CS224-HW4-Fall2023 folder in VSCode.

  • Open VSCode terminal and put this command to compile everything:

    For Windows: g++ *.cpp -IC:\mingw_dev_lib\include\SDL2 -LC:\mingw_dev_lib\lib -w -lmingw32 -lSDL2main -lSDL2 -lSDL2_image

    For Mac: clang++ *.cpp -I/Library/Frameworks/SDL2.framework/Headers -I/Library/Frameworks/SDL2_mixer.framework/Headers -I/Libaray/Frameworks/SDL2_image.framework/Headers -F/Library/Frameworks -framework SDL2 -framework SDL2_image -framework SDL2_mixer

  • Run the game by this command:

    For Windows: .\a.exe For Mac: ./a.out

For CMake users:

There is a CMakeLists.txt file in the main directory. The process is exactly the same as for the previous homeworks. To build the project:

  • cd CS224-HW4-Fall2023 (please ensure you are in a directory where this exists)
  • mkdir build (creates a build directory inside the HW folder)
  • cd build (navigate to the newly created build director)
  • On Linux use cmake ... On windows use cmake -G "MinGW Makefiles" .. if you install gcc via MSYS2. If you installed gcc via strawberry perl, use cmake -G "Unix Makefiles" ..
  • Run make or make -j4

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages