Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

TETR.IO Ghost-Piece Helper

A userscript that overlays a rainbow ghost piece on tetr.io showing the AI's best placement for the current piece. Mod made by @Ja3farr.

Install

  1. Install Tampermonkey or Violentmonkey in your browser.
  2. Open tetrio-ghost-helper.js, click Raw, your userscript manager should prompt to install.
  3. Go to https://tetr.io/ and start a game (Zen is easiest to try). A rainbow panel will appear top-right.

How it works

The script wraps requestAnimationFrame so it can read pixels from tetr.io's WebGL canvas after the frame is rendered but before it's composited. From those pixels it decodes the 10×20 playfield, NEXT queue, and HOLD slot, runs a Pierre Dellacherie-style heuristic with 1-piece lookahead, and renders the best placement(s) as a translucent overlay aligned to the playfield.

Buttons

  • Ghost ON / OFF — toggle the overlay.
  • +1 Look / No Look — toggle 1-piece lookahead (slightly slower; better placements).
  • × — close the panel and detach the script.

License

MIT.

About

TETR.IO Ghost-Piece Helper — Rainbow AI overlay userscript by @Ja3farr

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages