1.2.0 ā€¢ Published 3 years ago

@metaa/wooting-games v1.2.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

Metaa's Wooting games NPM package version

This package contains two simple games that can be played on Wooting keyboards by using the Wooting RGB SDK to render everything on the keyboard itself!

Installation

npm install -g @metaa/wooting-games

Usage

wooting-games

Main menu

Once you get to the game menu, the keyboard will indicate which keys can be pressed to do things.

To select a game, use either the left arrow key or the right arrow key. The F-keys on top and a demo of the selected game will indicate what your selection is.

You can start the game by hitting Return.

Controls
KeyAction
ESCQuit program
ReturnStart selected game
Arrow leftSelect Wootromino
Arrow rightSelect CactiJump

Games included

Wootromino

This game was inspired by Tetris.


You control colorful Russian Tromino bricks that slowly fall to the ground.

Please note that down is on the right of your keyboard and that up is on the left of your keyboard.

Move and rotate the Tromimo while it's falling to line it up with other Trominoes and fill the empty space on your keyboard (not the space bar though).

Once there is a full vertical line of Tromino, this line will clear and the blocks above will fall down accordingly. Try to survive as long as you can as the game gets faster with every 4 lines cleared.

Controls
KeyAction
ESCQuit game
ReturnPause game
F1 to F12Change speed
NumLockToggle preview (only on Wooting 2)
Arrow upMove tromino to the right
Arrow rightMove tromino down
Arrow downMove tromino left
Arrow leftDrop tromino to the ground
CTRL right / SpaceRotate Tromino

šŸŒµ CactiJump

This game was inspired by Google Chrome's T-Rex game that you get to play when you are offline (or when you explicitly choose to play it by visiting chrome://dino).


You control a small colorful dinosaur (but it's not a Yoshi (is it a Wootshi? šŸ¤”)) that decided to run into the desert. You have to help it jump over the evil šŸŒµ cacti that block the way, otherwise it will die a horrible and painful death.

The more šŸŒµ cacti the dinosaur jumps over, the faster it will run.

Controls
KeyAction
ESCQuit game
ReturnPause game
F1 to F6Change speed
Space / Arrow upJump

More information

Visit dev.wooting.io or wooting.io to learn more about what you can do with Wooting keyboards.