winzip icon

jTetris

Email
Submitted on: 7/16/2015 12:21:16 PM
By: Matthew Stride 
Level: Advanced
User Rating: By 1 Users
Compatibility: JavaScript
Views: 5673
 
     jTetris is an online Javascript based Tetris clone. Features include: - Blocks fall down gradually (Smoother animation effect) - A New Game+ mode with a more advanced set of blocks - The configuration of the blocks and their rotations are read in from an external xml file. - Support for swipe gestures on mobile devices This project makes use of the following, which are available under the MIT license. - JQuery : https://jquery.com/download/ - Touch Swipe JQuery Plugin: https://github.com/mattbryson/TouchSwipe-Jquery-Plugin - xml2json: http://www.fyneworks.com/jquery/xml-to-json/ Please note that this project makes an ajax call and therefore needs to be run from a web server. (i.e the URL should be something like http://localhost/tetris/ and not D:\jTetris\Index.html) This is a JavaScript version of my original VB.NET "iTetris" clone which was based on DirectDraw. https://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6955&lngWId=10

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

7/16/2019 8:00:30 AMJose

Very nice and smooth, excellent work. Thanks!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.