git clone http://danamlund/git/meckb_tetris/.git
Log | Files | Refs | README | LICENSE

README (1038B)


      1 tetris keyboard firmware
      2 ========================
      3 A keyboard that is also a tetris game.
      4 
      5 It works by outputting key-presses to make ascii-art in a regular text editor.
      6 It reads key presses to rotate and move the bricks like a regular tetris game.
      7 
      8 Example
      9 =======
     10 
     11 ![tetris](https://raw.githubusercontent.com/danamlund/meckb_tetris/master/tetris.gif)
     12 
     13 Usage
     14 =====
     15 1) Open a default text editor
     16 2) Click the tetris button (top left key on this keyboard)
     17 3) Play tetris
     18 
     19 It makes ascii-art using left, right, up, down, home, end, qwerty characters, and numbers.
     20 
     21 Problems
     22 ========
     23 Drawing ascii-art is too slow to make a plesent playing experience.
     24 While drawing ascii-art, the keyboard does not record key-presses, so its pretty unresponsive.
     25 
     26 Implement in other keyboards
     27 ============================
     28  - Copy-paste the files tetris_text.c and tetrix_text.h to your keyboard.
     29  - Add/update you keyboard/rules.mk to include 'SRC = tetris_text.c'
     30  - Copy-paste most of the code from tetris keymap.c to yours.
     31  - Set a key to trigger F(0).
     32