GithubHelp home page GithubHelp logo

ludwigandreas / cub3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrefhub/cub3d

2.0 0.0 0.0 2.38 MB

Desktop game with self-made Ray-casting engine.

License: MIT License

Shell 0.04% C++ 2.94% C 95.73% Objective-C 1.15% Makefile 0.14%

cub3d's Introduction

Pac3D

Desktop game with self-made Ray-casting engine.

Table of contents

About

Ray-casting project inspired by two legendary games: Wolfenstein 3D and Pac-Man.

Pac3D is a implementation of a simple 3D game engine using ray-casting technique. It uses the same principles as the original Wolfenstein 3D game, but with a different perspective. The game is written in C and uses the [MinilibX](https://harm-smits.github.io/42docs/libs/minilibx) library for that handles the graphical output. This game is an attempt to imagine what Pacman would have looked like in 3d if it had been released in 1992 on the Wolfenstein 3D engine.

This project is a part of the 42 school curriculum.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them.

gcc >= 7.5.0
mlx >= 1.4.1
sudo apt-get install gcc

To install the MinilibX library, follow the instructions in the official site

Installation

A step by step series of examples that tell you how to get a development env running.

Clone the repository.

git clone --recurse-submodules https://github.com/AndrefHub/cub3d.git

cd cub3d

Run the Makefile.

make         # Mandatory part
make bonus   # Bonus part

Running the tests

Explain how to run the automated tests for this system.

make test

Usage

To run the program, you need to provide a map file as an argument.

./cub3D maps/some_map.cub

Bundled maps

maps/e1m1.cub - map for mandatory part maps/pacman.cub - map for bonus part, replicates map from original Pac-Man game

Built Using

  • C - Programming language
  • MinilibX - Library for graphical output
  • Ray-casting - Rendering technique

Authors

This project was developed by:

drawing LudwigAndreas
drawing AndrefHub

Acknowledgements

License

This project is licensed under the School 21 License - see the LICENSE file for details.

cub3d's People

Contributors

ludwigandreas avatar andrefhub avatar

Stargazers

Vi avatar F@nzil 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.