A downloadable game for Windows, macOS, Linux, and Android

Buy Now$5.00 USD or more

# Netris

A Simple tetris game written in modern JavaScript

## About

Blazing fast as source code is optimized to maximum !

No warnings or errors !

Object Oriented design !

Time based rendering. Faster the CPU the better !

Written in modern JavaScript.

## Extras

- index.html  : Default

- mobile.html : For mobile devices

- simple.html : Just Netris

## Keys

- wasd / Arrows : Block Movement

- g / SpaceBar  : Block Rotation

- Escape        : Quit

- Hand          : Mobile devices

## Usage as component

Simply add these in your website.

You can add as many Netris as you like.

```

<body>

...

<div id="idGame"></div>

<script src="netris.js"></script>

<script>window.netris({id: "idGame", width: 10, height: 15, cell: 45});</script>

...

</body>

```

## Options

These are given as object to `window.netris({...})`

- width (int)      : Cells vertical

- height (int)     : Cells horizontal

- cell (int)       : Cell size

- id (string)      : Element to attach Netris. If empty attach to body

- style (string)   : Style for canvas

- ghostBlock(bool) : Use ghost block

- difficulty (int) : 0 ( Easy ) -> 20 ( Hardest )

- mode (string)    : Standard ( Normal tetris / _default_ )

                     Max3     ( 3 blocks )

                     zBlocks  ( Only z-blocks )

                     Random   ( Randomized blocks )

## Requirements

Only browser.

Works on any OS + mobile devices !

## Usage

Unzip the package.

Then just click `index.html` to play.

## License

Personal use or for you own website

Purchase

Buy Now$5.00 USD or more

In order to download this game you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:

Netris-1.0.zip 91 kB
Netris-1.1.zip 92 kB
Netris-1.2.zip 92 kB
Netris-1.4.zip 178 kB
Netris-1.5.zip 181 kB
Netris-1.6.zip 181 kB
Netris-1.7.zip 181 kB
Netris-1.8.zip 150 kB
Netris-1.9.zip 243 kB
Netris-2.0.zip 243 kB
Netris-2.1.zip 243 kB
Netris-2.2.zip 297 kB
Netris-2.5.zip 284 kB