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

Buy Now$1.00 USD or more

# aiNetris

A Simple tetris simulation using artificial intelligence

## About

Unique AI algorithm for tetris. Super fast and optimum play. On any size of board.

No warnings or errors + Object Oriented design + Optimized to maximum!

Written in modern JavaScript.

## aiNetris() options

```

{

  width:  12,   // width of arena [ 8 -> 50 ]

  height: 18,   // width of arena [ 8 -> 50 ]

  speed:  70,   // Speed of the simulation [0 -> 100]

  pieces: " xo" // Pieces for aiNetris [" xo", ".xo", ...]

}

```

## click() options

```

[

  "ai",     // AI mode

  "random", // Random mode

  "tune",   // Tune aiNetris

  "bench"   // Bench aiNetris

]

```

## Usage

Click `index.html`

## Website:

Use aiNetris:

`<script src="aiNetris.js"></script>`

Use textarea:

`<div> <textarea rows="25" cols="60" readonly="readonly" id="idBash"> </textarea> </div>`

Then just:

`window.aiNetris().click("ai");`

## License

Personal usage or for your own website.

Buying full source code. Please contact by email < kalleankka1 (at) gmail (dot) com >

Purchase

Buy Now$1.00 USD or more

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

aiNetris-0.3.zip 50 kB
aiNetris-0.4.zip 95 kB

Leave a comment

Log in with itch.io to leave a comment.