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, javascript tetris, tetris java source code, java tetris source code, javascript tetris code, javascript tetris mobile, javascript game codes, tetris game, tetris, javascript game score, java tetris script, script java game tetris, js tetris, javascript games with source code, tetris code in javascript, javascript game scoring, javascript tetris game code, script java tetris, tetris javascript free code, embeddable javascript games, embed javascript game, online tetris source code, script game tetris, scriptfor tetris souce, simple example of a game in javascript, simple js tetris source code, script cod tetris, scoring codes for javascript, scoring code for javascript, score with javascript, tetris blocks game script, javascript tetrix game codes, tetris javascript, www onlinegame cz, tetris websites, tetris source code javascript, tetris source code in javasript, tetris oyun javascript, tetris mobile source code, tetris js, tetris javascript source code, tetris javascript code for website, tetris code javascript, tetris in javascript code, tetris in java source code 2011, tetris in java source code, tetris game source codes javascript, tetris game score kept, tetris game javascript code, tetris game free sourcecode in javascript, tetris complete javascript code, game scoring code in javascript, javascript code for gaming, 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, JavaScript code online games, 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 source game scripts, mobile tetris javascript, mobile tetris java source code, js tetris source, js code game, javascritp game result, code for tetris game javascript, javascript tetris source, javascript tetris game, javascript tertis code, mobile tetris source code, 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, Xhanch, Xhanch Studio

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

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

Leave a Reply

You must be logged in to post a comment.