isisabreu / Ironhack_Module1_EscapingUmbridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Escaping Umbridge

Introduction

Escaping Umbridge is a game based on Harry Potter's story in which you need to dodge from obstacles like Dementors and Umbridge clones and get back safely to Hogwarts. In this game we use some techniques learned through the module 1 of Web Delevopment course at Ironhack such as the use of Canvas in js., object orietation and DOM manipulation. Also basic concepts of HTML and CSS including some animations. It's a very fun game that requires that the player keeps the attention to hold Harry in the air and also avoid touching the wrong obstacles.

Requirements to collaborate

If you want to contribute to this project please don't forget to fork and clone before making any changes. This file is for public access.

Game Logic

Instructions Page This is the main page with instruction on how to succeed within the game and with the main channel to start playing. For this page I used a simple HTML frame with two main divs inside a section so I could move them with flex box. On the CSS stylesheet, the thing that differenciates the format is the animation I've done in the button using hover.

![Game](GamePage/Screenshots/The game.png)

On the game page, I utilize a lot of the canvas and javascript, basically the whole game structure is within a canvas and it works a lot like other obstacle games with open source code (please refer to this lab https://github.com/ironhack-labs/lab-canvas-flappybirds that served as main inspiration).

WinScreen

This is the screen that shows up when the player wins, this means that they found Hogwarts and they succeed avoiding dementors and Umbridge clones.

LooserScreen

This screen pops up when the player looses, this means they where not able to hold themselves in the broom or they bumped into a dementors or an Umbridge clone.

About the author

You can find me on Linkedin!

About


Languages

Language:CSS 51.7%Language:JavaScript 30.1%Language:HTML 18.2%