Giter Site home page Giter Site logo

lichess-keyboard-input's Introduction

Lichess-Keyboard-Input

Install quickly: https://chrome.google.com/webstore/detail/lichess-keyboard-input/beaekfhgnpkeaemddboeojhljnjoebfl?hl=en

Move pieces faster using your keyboard on Lichess
It is a legal way to become faster in ultrabullet

You can try it here: https://ultrabullet.com/ultratraining

A video example: https://youtu.be/UAExpNbLlIo

Many thanks to Vempele, the author of the original script, from which I took ideas and parts of the code: https://gist.github.com/Vempele/46333e85e33b6d488c3ffb131942272d

The forum discussion: https://lichess.org/forum/lichess-feedback/feature-request-using-keyboard-for-selecting-pieces?page=1

  1. Create a game against Stockfish on Lichess.
  2. The default set of keys:

w = Moves a pawn forward.
q = Take with a pawn to the left
e = Take with a pawn to the right
s = Queen
shift = King
a = The left knight (without a green square)
d = The right knight (with a green square)
1 = The left rook (without a green square)
3 = The right rook (with a green square)
space = Bishops
2 = cansel premoves
4 = offer rematch
(You can change keys to any other keys)

  1. Try this in a game. To move a piece you have to hover your mouse cursor over a square-destination and press a corresponding key (you don't have to click your mouse buttons). For example, hover your mouse cursor over e4 and press "w".

Switching between keys

It can be difficult to switch between keys.
So there are several possible solutions.
a. Using a second keyboard as pedals, removing all the keys except two in the middle in this manner: Pedals How to build: https://www.youtube.com/watch?v=EGr3lvBtMV0

b. Heightening two keys (for example, "x" and "v" by gluing something to them) to press them with the palm. Effectively increasing the number of hand digits to 7.
Heighten keys
Heighten keys

c. Mapping some keys to the mouse. Mouse mapping

lichess-keyboard-input's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.