qmk_firmware/keyboards/clueboard/66/keymaps/tetris
skullydazed d1f735b6d2
Clueboard refresh (#4902)
* Cluecard: refactor

- renamed layout macro KEYMAP to LAYOUT
- reformatted layout macro to more closely resemble physical device layout
- keymaps now use #include QMK_KEYBOARD_H
- config.h files updated to use #pragma once method
- deleted outdated QUANTUM_DIR code blocks from rules.mk files
- white space changes on rules.mk files (alignment/readability)

* Cluecard: Configurator support

* Cluecard: readme update

- added image
- updated Docs links

* Clueboard 66% HotSwap: corrected matrix and Configurator data

- removed k31 and k84 from LAYOUT
  - both appear to be unsupported for this PCB according to images on clueboard.co
  - updated block comment mock-ups to match changes
- rebuilt info.json file
- delete removed keys from default keymap.c

* Clueboard 66% HotSwap: readme update

- fix make example
- updated Docs links

* Clueboard 66% HotSwap: 66_ansi keymap update

Updated to use #include QMK_KEYBOARD_H

* Clueboard 60% refactor

- renamed layout macro KEYMAP to LAYOUT_all
- renamed layout macro KEYMAP_AEK to LAYOUT_aek
- removed redundant KC_TRNS definitions from keymaps
- all keymaps now use #include QMK_KEYBOARD_H

* Clueboard 17%: refactor

* Clueboard 17%: Configurator support

* Clueboard 17%: update Docs links in readme

* Cleanup the 2x1800 files

* Update Clueboard 60% to standard matrix

* Update the clueboard default keymaps

* Refresh and update clueboard 17

* Add the 66% hotswap to Clueboard's readme

* Clarify the 66% hotswap's readme

* change the image to imgur

* Update the clueboard 66 to follow modern standards

* update clueboard 66_hotswap to follow modern practices

* Move the logo to imgur

* update clueboard/card to follow modern practices

* remove clueboard/66 as a valid make target

* Address comments in #4902

* fix user keymaps after the changes
2019-01-23 09:25:32 -08:00
..
keymap.c Clueboard refresh (#4902) 2019-01-23 09:25:32 -08:00
readme.md
rules.mk
tetris_text.c
tetris_text.h

Default layout but with a tetris game

Tetris works by outputting key-presses to make ascii-art in a regular text editor. It reads key presses to rotate and move the bricks like a regular tetris game.

Example

tetris

Usage

  1. Open a default text editor
  2. Press the tetris button (Fn + t)
  3. Play tetris

It makes ascii-art by sending keycodes: left, right, up, down, qwerty characters, and numbers.

Problems

Drawing ascii-art is too slow to make a pleasant playing experience. While drawing ascii-art, the keyboard does not record key-presses, so its pretty unresponsive.

Adds 5000 bytes to the hex file.

Implement in other keyboards

  • Copy-paste the files tetris_text.c and tetrix_text.h to your keymap folder.
  • Add/update your-keyboard/your-keymap/Makefile to include SRC = tetris_text.c
  • Copy-paste the tetris-related code from this keymap.c to yours.
  • Set a key to trigger F(1) to start tetris mode.
  • Its also a good idea to set a key to stop tetris, here its escape.

You can find a simple tetris keyboard definition at https://github.com/danamlund/meckb_tetris/