colemars / Mehtris

Clone of Tetris created in angularJS using Javascript and p5.js

Home Page:https://mehtris-dc8ab.firebaseapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tetris, in Angular.

Classic Tetris created in Angular.

By Robert Lee, Cole Marsteller, Miles Bradt

Description

Clone of Classic Tetris.

Setup/Installation Requirements

  • Clone the applications from github by going to the terminal window command line and typing:

$ git clone https://github.com/colesmars/tetris.git

  • After all the files have been copied, navigate to the project working directory. Type the following:

$ npm install

  • Node Package Manager (npm) should automatically start downloading all required dependencies. After all files have been downloaded, type the following:

$ ng serve

  • _The terminal window will run the application, and a user interface should begin automatically in your default web browser.

  • To stop the application, return to the terminal window and enter the command CTRL+C. If prompted for (Y/N), pick "Y". Then close the user interface tab in your web browser.

Behavior

  • Clone of Classic Tetris.

Early Goals

  • Create a canvas, 10 blocks wide, 20 blocks tall.
  • Create a single block.
  • Stop/detect collision at the canvas bottom/left/right.
  • Have blocks be able to stack on top of other "dead" blocks.
  • Detect when a line is made.
  • Clear objects once a line is made.
  • Clear multiple lines at once.
  • Create the 4-square tetris game pieces.
  • make block left/right/soft/hard drop controllable.
  • Create clockwise and CCW block rotation.
  • RNG for block spawning.
  • Create a "Show next block".
  • Create a scoring system.

Extra Features

  • RNG pool of seven blocks. (Modern Tetris)
  • Hold block feature. (Modern Tetris)
  • Pixel Art for blocks.
  • Music and sound effects.
  • Handheld controller support.
  • 2 Player, non-network support.
  • 2 Player, network support.

Known Bugs

  • TBD.

Support and contact details

  • Please contact xyz

Technologies Used

  • Javascript, jQuery, HTML, CSS, Bootstrap, Atom, NPM, Angular.

License

This application is Licensed under the MIT software Licence agreement. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2019 Robert Lee, Cole Marsteller, Miles Bradt, Rohan Moore, Epicodus

About

Clone of Tetris created in angularJS using Javascript and p5.js

https://mehtris-dc8ab.firebaseapp.com


Languages

Language:TypeScript 92.9%Language:JavaScript 4.9%Language:HTML 1.8%Language:CSS 0.5%