https://github.com/vanflux/jstetris-bot
JsTetris Bot
https://github.com/vanflux/jstetris-bot
bot jstris tetris
Last synced: about 1 year ago
JSON representation
JsTetris Bot
- Host: GitHub
- URL: https://github.com/vanflux/jstetris-bot
- Owner: vanflux
- Created: 2022-07-15T01:05:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T21:24:56.000Z (over 3 years ago)
- Last Synced: 2025-04-13T18:15:12.783Z (about 1 year ago)
- Topics: bot, jstris, tetris
- Language: TypeScript
- Homepage:
- Size: 1.91 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSTris Bot


Integration of [tetris-ai](https://github.com/vanflux/tetris-ai) with JSTris website.
*Don't play on LIVE matches. I'm not responsible by your actions and consequences! You will be banned!*
Play only on practice mode(only you) or with a friend who KNOWS you are using bot.
Based on [web-game-hacking-boilerplate](https://github.com/vanflux/web-game-hacking-boilerplate.git).
# Usage
## Chrome
- Download latest release `jstris-bot-chrome.zip`
- Unzip to some location on your PC
- Go to url `chrome://extensions`
- Enable development mode
- Load the uncompressed extension and pick the unzipped directory
## Firefox
- Download latest release `jstris-bot-firefox.zip`
- Go to url `about:debugging`
- Go to `This Firefox`
- Load temporary add-ons and pick the .zip
# Development
## Setup + Run
- Clone repo
- Install dependencies: `npm i`
- Run `npm start `
## Chrome
- Go to url `chrome://extensions`
- Enable development mode
- Load the uncompressed extension and pick the `build/dev` directory inside project dir
- If you want the extension hot-reloading working properly open the extension console(`service worker`) and keep it opened on background.
## Firefox
- Go to url `about:debugging`
- Go to `This Firefox`
- Load temporary add-ons and pick the `build/dev` directory inside project dir
# Demo