Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vanflux/jstetris-bot
- Owner: vanflux
- Created: 2022-07-15T01:05:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T21:24:56.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T13:53:45.996Z (almost 2 years ago)
- Topics: bot, jstris, tetris
- Language: TypeScript
- Homepage:
- Size: 1.91 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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