Code Monkey home page Code Monkey logo

bloxorz's Introduction

bloxorz

Group Members


  • Mostafa Mohsen - mohsem1
  • Purv Patel - patep11
  • Hassan Jasim - jasima

Overview

We implemented a block-character based game using Opengl. The player plays as a 1 by 1 by 2 block and he must navigate the block from the starting position to the endpoint marked by the black tile. There are currently three levels in our game. If any part of the block goes outside of the platform, the block will fall off the platform and the player will lose the game. The score is the number of moves that the player takes to finish the game (clear all three levels). A lower score is better since that means the player completed the game in fewer moves. The game also offers an undo functionality in case players want to retry/rethink a move. If the player loses the game, he must start from the first level, this is because our game only has three levels so its reasonable.

The README that was submitted with the prototype can be found here bloxorz/prototype.md

Dev Environments

  • MacOS - Apple silicon
  • Windows 10

Running Instructions

Within the project repository, run this

make

Game Controls and Instructions

  • Press space to start the game from main menu, move on from loss and win screens
  • use w, a, s, d to move the block
  • use 1 and 2 to swap between different textures for the block (during any time)
  • press q to quit the game at anytime
  • if block is outside the platform, you will lose
  • Pink tiles can only be travesed once, they will disappear afterwards
  • correctly get the block in the upright position onto the winning Black tile (has to be upright)
  • If you win, you will advance to the next level, unless you are at the last level, then you win the game

Game Mechanic Features Promised from Prototype

  • Smooth animations for moving block using Quaternions and SLERP
  • Smooth animations for block falling or winning
  • Displaying text on top of screen (overlaying 3D with gluOrtho2D)
  • Have multiple levels along with special tiles
  • materials and textures for tiles and block
  • Main Menu and quit functionality
  • Undo functionality

Optimizations Made From prototype

  • Cleaned up Block code using mathLib3D library
  • modularized and cleaned up quaternion rotations

bloxorz's People

Contributors

mostafathereal avatar purvpatel avatar hassanjasim avatar

Watchers

James Cloos avatar  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.