Giter Site home page Giter Site logo

javascript-mini-monster-adventure's Introduction

MINI MONSTER ADVENTURE.

Description

MINI MONSTER ADVENTURE. is a game where the player has to jump from one pipe to the other pipe. There are gaps between the pipes. The game ends when the player falls into a gap.
After that, a score is calculated based on how many pipes you jumped.

MVP (DOM - Canvas)

  • game has multiple pipes with different levels of height.
  • Mario jumps from one pipe to the other.
  • increasing difficulty.

Backlog

  • add cannon
  • ability to start the game on increased difficulty level.

Data Structure

main.js

  • buildSplashScreen(){}
  • buildGameScreen (){}
  • buildGameOverScreen (){}

game.js

  • Game()
  • startLoop(){}
  • checkCollision(){}
  • addPipes(){}
  • clearCanvas(){}
  • updateCanvas(){}
  • drawCanvas(){}
  • gameOverCanvas(){}

mario.js

  • mario()
  • draw()
  • move()
  • jump()
  • checkScreenCollision

pipe.js

  • pipe()
  • draw()
  • checkScreenCollision

States y States Transitions

Definition of the different states and their transition (transition functions)

  • splashScreen
  • gameScreen
  • gameOverScreen

Task

main - buildDom main - buildSplashScreen main - addEventListener main - buildGameScreen main - buildGameOverScreen game - startLoop game - buildCanvas game - updateCanvas game - drawCanvas mario - draw mario - move mario - jump pipe - pipe pipe - draw game - checkCollision game - GameOver game - addEventListener

Links

Trello

Link url

Git URls for the project repo and deploy Link Repo Link Deploy

Slides URls for the project presentation (slides) Link Slides.com

javascript-mini-monster-adventure's People

Stargazers

Roman 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.