Javascript – Game Of Tetris

Tetris is a classical and well-known game. Tetris is discovered in 1984 (in the same era as Mario Bros). So far, tetris has been released over 125 millions copies, tetris presents on all gaming platforms: PC, console, web-based environment, mobile, etc.

It’s possible to embed a tetris game to your website easily. This script will include these features:

  • Original tetris blocks
  • Level systems
  • Keyboard-based input method/navigation
  • Scoring system
  • High scores will be stored on cookies
  • Other complementatry stas (play time, APM, lines)


This script can be run well using Mozilla Firefox (any version), Internet Explorer (any version), Opera and Fast Browser.

Demo Preview

JsTetris 1.1.0

Game Over
Level: 1
Score: 0
Lines: 0
APM: 0
Time: 0
Help x
up – rotate
down – move down
left – move left
right – move right
space – fall to the bottom
n – new game
r – reset

1) Puzzle speed = 80+700/level miliseconds, the smaller value the faster puzzle falls
2) If puzzles created in current level >= 10+level*2 then increase level
3) After puzzle falling score is increased by 1000*level*linesRemoved
4) Each “down” action increases score by 5+level (pressing space counts as multiple down actions)

Highscores x

Note: these scores are kept in cookies, they are only visible to your computer, other players that visit this page see their own scores.

Source Code

Get the script/source code here,471.0.html

Incoming Search Terms

tetris javascript code, javascript tetris source code, java tetris source code, tetris java source code, javascript tetris, tetris game, javascript game codes, tetris, javascript tetris code, javascript tetris mobile, js tetris, script java game tetris, javascript games with source code, tetris code in javascript, javascript game score, java tetris script, javascript game scoring, embeddable javascript games, javascript tetris game code, script java tetris, tetris javascript free code, embed javascript game, tetris game score kept, tetris js, tetris mobile source code, tetris oyun javascript, tetris source code in javasript, script game tetris, tetris source code javascript, script cod tetris, scoring codes for javascript, scoring code for javascript, tetris websites, score with javascript, online tetris source code, tetris javascript source code, scriptfor tetris souce, simple example of a game in javascript, tetris game source codes javascript, tetris game javascript code, tetris game free sourcecode in javascript, tetris in java source code, tetris in java source code 2011, tetris in javascript code, tetris javascript, tetris complete javascript code, www onlinegame cz, tetris code javascript, tetris javascript code for website, tetris blocks game script, simple js tetris source code, mobile tetris source code, mobile tetris javascript, java scripts games, java script tetris source code, java script game tetris, java games scripts, internet time script, HTML tetris javascript, html javascript tetris code, game scoring javascript code, game scoring code in javascript, game result javascript, game javascript, Free Tetris Script game on your website score track, free javascript embedded games for web tetris, complete tetris javascript code, codigo tetris javascript mobile, codes of tetris in javascript, codes for javascript tetris, javascript code for gaming, JavaScript code online games, mobile tetris java source code, js tetris source, js code game, javascritp game result, javascript tetrix game codes, javascript tetris source, javascript tetris game, javascript tertis code, javascript source game scripts, javascript source code examples in games, Javascript score in a game, javascript on how to score in game, javascript oftetris, javascript mobile tetris, Javascript mibil Тетрис script, javascript games with scores for you web, javascript game, code for tetris game javascript, Xhanch, Xhanch Studio

Posted on 2011-04-23 by Susanto BSc in Free Script, JavaScript
Code, Script, Game, Html, Blocks, Online Game, Tetris Game, Online, Css, Javascript, Js, Free, Tetris, Xhanch, Xhanch Studio

Tagged as: , , , , , , , , , , , ,

Leave a Reply

You must be logged in to post a comment.