https://github.com/hasanyahya101/pacman_sfml
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.
https://github.com/hasanyahya101/pacman_sfml
c cpp fast ise lhr nuces oop pacman sfml sqlite
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/hasanyahya101/pacman_sfml
- Owner: HasanYahya101
- License: mit
- Created: 2023-05-05T19:24:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T13:13:31.000Z (almost 3 years ago)
- Last Synced: 2023-07-19T14:27:29.584Z (almost 3 years ago)
- Topics: c, cpp, fast, ise, lhr, nuces, oop, pacman, sfml, sqlite
- Language: C
- Homepage:
- Size: 5.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.sfml-dev.org/download.php) and [SQLite3](https://www.sqlite.org/amalgamation.html). 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.
```MakeFile
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](https://github.com/zayabdull), `April, 2023`. Thank you for your help.