Skip to content

Pacman game created in C++ and SFML, and uses Sqlite3 for Database. All, rights to the Sqlite3 (Amalgamation) files and SFML files go to them and them alone. The code contains a First Version, which is not efficient and uses Grids and Second Version, which is efficient. This project is also OOP and ISE subjects Semester Projects for Fast Nuces Lhr.

License

Notifications You must be signed in to change notification settings

HasanYahya101/Pacman_SFML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pacman Game in C++

Note: This Game uses SFML (C++) and SQLite3 Amalgamation Code (C).

Introduction:

Note: This Project uses code from SFML and SQLite3. You can view there codes in SFML and SQLite3. All rights, go to their respective owners and if you see their code files along with my code files, then before using them, check their policy. I will bear no responsibility for your negligence.

Project Versions:

There are two folders present here, which are "First Version" and "Second Version". Since, this project is also for OOP and ISE Project Evaluation and i couldn't complete the full version in time, i created the "First Version". But, the "Second Version" is the complete version. Check their respective README Files for more information. This doesn't mean that the first version doesn't work. It just means that the first version doesn't have all features.

Compilation Instructions:

You can use the Makefile given below for compilation of code. Make sure to change the SFML_INCLUDE and SFML_LIB variables according to the path where you have installed SFML. To compile the code, run the make all command in the terminal. This will compile the code and create an executable file named "main". To remove the object files, run make clean command.

SFML_INCLUDE = "C:\SFML-2.5.1_(VS_Code)\include" // or add your own path
SFML_LIB = "C:\SFML-2.5.1_(VS_Code)\lib" // or add your own path

all: compile_link

compile_link: compile_main compile_sqlite link

compile_main:
	g++ -c main.cpp -I$(SFML_INCLUDE)

compile_sqlite:
	gcc -c sqlite3.c

link:
	g++ main.o sqlite3.o -o main -L$(SFML_LIB) -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio

clean:
	rm -f main.*o sqlite3.o

Contribution:

This Project would have never been possible without the help of Zayed A, April, 2023. Thank you for your help.

About

Pacman game created in C++ and SFML, and uses Sqlite3 for Database. All, rights to the Sqlite3 (Amalgamation) files and SFML files go to them and them alone. The code contains a First Version, which is not efficient and uses Grids and Second Version, which is efficient. This project is also OOP and ISE subjects Semester Projects for Fast Nuces Lhr.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published