Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vanflux/jstetris-bot

JsTetris Bot
https://github.com/vanflux/jstetris-bot

bot jstris tetris

Last synced: about 2 months ago
JSON representation

JsTetris Bot

Awesome Lists containing this project

README

        

# JSTris Bot



![](https://img.shields.io/github/v/release/vanflux/jstetris-bot)
![](https://img.shields.io/github/actions/workflow/status/vanflux/jstetris-bot/full.yml?branch=main)

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