Giter VIP home page Giter VIP logo

opengl-cube-crush-game's Introduction

OpenGL-Cube-Crush-Game (VraXaPsa)

VraXaPsa is a 3D OpenGL game developed as a project for Computer Graphics and Interactive Systems, an undergraduate course in Computer Science and Engineering Department, University of Ioannina (2019). It is a candy/jewel crush like game using the rules of a classic rock-paper-scissors game with a twist.

Installation

The game requires OpenGL,g++ and make in order to be properly installed. Additionally, it requires freeglut3 which is installed by using:

sudo apt-get install freeglut3 freeglut3-dev

Rules/How to play

Rock destroys scissors. Paper destroys rock. Scissors destroy paper.

To start the game, press right click and click start from the menu. Click one cube to "select" it and then click a neighbouring cube to exchange them. Using the arrow keys, the user can view the board from different angles.

  • If there is a triplet of colored cubes in a row, they get destroyed and you get points.
  • If there is a bomb next to the triplet, you lose 30 points.
  • When a cube is destroyed it gets filled by a blank (black) cube.
  • If you exhange a blank cube and a textured cube (paper/scissors/rock) and there is a "weaker" textured cube next to it, it gets destroyed.
  • If there is a textured cube triplet:
    • All cubes except "stronger" cubes get destroyed in 1 cube radius.
    • All "weaker" textured cubes get destroyed in 3 cube radius.

Made by: Grigorios Tsopouridis

Credits

stb_image.h library used is made by:

https://github.com/nothings/stb/blob/master/stb_image.h

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.