Giter Club home page Giter Club logo

bootcamp_project1's Introduction

Ironhack bootcamp project 1 (Module 1)

Simple 2d side scroller game build with HTML (no canvas), JS, CSS

How to play:

  • Goal: manage to survive for 1 minute or shoot at least 10 enemies to win
  • You can jump to avoid enemies and shoot to kill them
  • Use onscreen buttons or "w" to jump and "j" to shoot
  • Each time an enemy "touches" you, you loose a life
  • If you loose all your lives its game over:)

Link to published github page:

https://pomerama.github.io/bootcamp_project1/

Goals (official):

Browser based game, using HTML, CSS, JS, DOM manipulation, OOP

  • Render a game in the browser.
  • Have logic for winning and/or losing and show feedback to the player in either case:
  • Your game must have logic that allows the player to win or lose.
  • Your game code must be organized in separate files for HTML, CSS, and JavaScript.
  • Use plain JavaScript for DOM manipulation.
  • Your game entities and elements must be organized using classes and OOP.
  • Have a repo on GitHub.
  • Have at least one (1) commit per day that you worked on.
  • You must deploy your game online using GitHub Pages so anyone can play it.

Personal goals:

  • Get first experience with Typescript
  • Get first experience with Jest (testing)

To get "excellent" grade:

  • Aditional features like high score tracking, level progression
  • Unit tests/ Typescript/ private class fields
  • Modular code with clear responsibilities and minimal coupling
  • The code is exceptionally well-formatted, with clear and descriptive variable and function names that convey purpose and usage. The code is easy to read and understand, with an exemplary level of clarity
  • Extra features like CSS animations and transitions. Highly polished UI
  • Regular commits with clear messages
  • Deployed game is full functional with no errors preset

Game idea: basic infinite side scroller

  • Fallback in case parallax gets too tricky (with dom objects): very polished snake:)

Rough time layout (27.10.23 - 02.11.23):

  • Fri: working draft definition of done: oop code layout, start- & game- & endScreen, player can be moved nice to have: tests

  • Mon: polish basic version definition of done: obstacles, tests, graphics, high score nice to have: shooting

  • Tue: Parallax effect background definition of done: infinitely moving background nice to have: foreground objects which are "in front of" the player

  • Wed: Addons definition of done: to be decided nice to have:

    • onscreen buttons (player can click on them instead of using the keyboard)
    • music
    • sound effetcts
    • scallale / multiple sizes UI
    • sprite animation
  • Thu: Buffer, if anything goes wrong definition of done: working project which can be presented nice to have:

    • refactor code
    • understand how typescript affected the project, if used correctly, what to learn for future

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.