GithubHelp home page GithubHelp logo

iit-delhi-maze-game's Introduction

------------------------------------------------------------------
IN PURSUIT OF HAPPYNESS
Navigating Life in IIT Delhi

Designed & developed by: Spruce Gaming (c) 
Developers:
Samyak Jain (2020CS50667)
Viraj Agashe (2020CS10567)

------------------------------------------

INSTALLATION INSTRUCTIONS:

=============================
OS Details: Windows 10 + WSL2 
=============================
- SDL2:
>>>> sudo apt-get install libsdl2-dev

- SDL-Image 
>>>> sudo apt-get install libsdl2-image 

- SDL-TTF
>>>> sudo apt-get install libsdl2-ttf

Xming Software:
Download this software from the internet & install on Windows. 
This is for loading the screen as WSL2 does not have intrinsic 
access to device hardware (on Windows 10). Windows 11 users may
have a workaround. 

Note:
---------
To load the screen on WSL2, follow these steps:

- Run the following command in WSL2:
>>>> export DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):0.0

- Run any file requiring a screen (eg. xeyes)

- An error message will appear in the terminal. Open Xming logs.

- The last line should be, client 4 rejected from IP XXX.YY.ZZ.WWW. Copy this 
IP address into the file "X0.hosts" (present in the installation folder of Xming)

=============================
OS DETAILS 2
Ubuntu 20.04.3  - 64 bit 
=============================
- SDL2:
>>>> sudo apt-get install libsdl2-dev

- SDL-Image 
>>>> sudo apt-get install libsdl2-image 

- SDL-Image
>>>> sudo apt-get install libsdl2-mixer

- SDL-TTF
>>>> sudo apt-get install libsdl2-ttf

---------------------------------------

COMPILATION INSTRUCTIONS 

Run the client 1 & client 2 makefiles on each of the clients.
>>>> make 

Then each client should simply type:
>>>> ./a.out 

---------------------------------------

SOURCES REFERRED:

For the creation of the game, we referred to the following resources:

- LAZY FOO TUTORIALS: https://lazyfoo.net/tutorials
- LET'S MAKE GAMES YT PLAYLIST: https://www.youtube.com/watch?v=QQzAHcojEKg&list=PLhfAbcv9cehhkG7ZQK0nfIGJC_C-wSLrx&index=1
- UDP SERVER-CLIENT IMPLEMENTATION: https://www.geeksforgeeks.org/udp-server-client-implementation-c/
- SOCKETS: https://www.linuxhowtos.org/C_C++/socket.htm

-------------------------------------------------------------------

iit-delhi-maze-game's People

Contributors

sammyj11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.