Giter Site home page Giter Site logo

mod1_spaceinvaders's Introduction

MOD1_SpaceInvaders

#Space Invaders!
Try it: https://tayl0rt0t.github.io/MOD1_SpaceInvaders/


Welcome to Space Invaders! Earth is in trouble. Those pesky UAPs (aka UFOs) have been seen by pilots and other observers for centuries. Solid proof of their existence has been near impossible to come by, grainy and blurry photos have caused doubts about their existence. But, today is the day. They're coming for us, and they do not come in peace. It's up to you to save the world with your keyboard. BATTLESTATIONS! GET READY, JUST LIKE WE TRAINED!

#Motivations
Other than destroying the invaders, my motivation is to work with interacting classes and arrays and solidify those concepts to become a better programmer!

#Controls

Use your left and right keys to move your ship!
Use the space bar to open fire! Are they closing in? Hold the space bar for Rambo mode, using your rapid fire to take out the invaders in close quarters combat!!!

#Tech Stack
HTML CSS Javascript

#Resources

https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement

https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes#:~:text=video%20using%20canvas-,Tutorial,-Canvas%20tutorial

https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect

https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some

https://www.youtube.com/watch?v=i7FzA4NavDs&t=1447s How to shoot bullets in Javascript

https://www.youtube.com/watch?v=qCBiKJbLcFI&t=1023s Coding Space Invaders. This helped a lot with arrays and timing.

#Future Updates

A scoring functionality.
A 'remaining lives' functionality
More aggressive enemys (aliens shoot)

mod1_spaceinvaders's People

Contributors

tayl0rt0t avatar

Stargazers

De Sean Ward avatar  avatar  avatar Kevin avatar Fatima Rimi avatar  avatar Clement Kinyui Ndimuangu avatar Cynthia Chioma Obia avatar  avatar  avatar  avatar Alexander Gomez avatar Keith Andrew Martinez avatar Mahamadou Tirera avatar Ron Powell avatar Ange avatar  avatar Vanessa Beattie avatar

Watchers

 avatar Keith Andrew Martinez 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.