|
- The Keyboard Shift Cipher - Code Golf Stack Exchange
Given the following input: An integer n where n > 0 A string s where s is not empty and s~=[0-9A-Z]+ (alpha-numeric capitals only) Using a standard, simplified QWERTY keyboard (as shown below): 1234567890 QWERTYUIOP ASDFGHJKL ZXCVBNM Perform the following operation: Find the original row that each character is in on the keyboard Replace the letter with the correct shifted equivalent for n
- Help Alice fix her text! - Code Golf Stack Exchange
Try it online! 'qwertyuiop[asdfghjkl;zxcvbnm, ' The full keyboard, including the shifted away left-most chars and the extra chars [;,, as well as two extra spaces at the end <:@i: Find the index of the input within that, searching from the right, and substract one {[ Pull those shifted indexes from the string in step 1
- Given an input, move it along the keyboard by N characters
The Challenge: Given any input that can be typed on a keyboard, move the text along by N chars Here is the QWERTY keyboard to be used You can ignore the modifier keys (Shift, Caps, Enter, Delet
- code challenge - Print the QWERTY keyboard using keys that are as close . . .
Nice again! You could do "QWERTYUIOP<br>ASDFGHJKL<br>ZXCVBNM"¬¸r'Z" Z (<br> represents a line break), but that requires two non-keyboard chars, so I guess it isn't legal But at least you can remove the comma, as it is automatically inserted
- Fix my Fat Fingers - Code Golf Stack Exchange
Code Golf Challenge I have an isdue, my fingrrs are fat and I freqintly jave an isdue of ty[ing one keystrpke to the right on my kryboard I'm afraid the isdue is getyng worse anf worsr as time goe
- Distances between keys on a QWERTY keyboard - Code Golf Stack Exchange
Inspired by this video by Matt Parker The distances between the letter keys of a QWERTY keyboard are somewhat standardised The keys are square and both the horizontal and vertical spacing are 19 0
- code golf - One line Keyboard - Code Golf Stack Exchange
Keyboard layout To clarify any ambiguity over what the standard keyboard layout is below is a list of keys available on each line, including alternate upper keys (accessed using shift) Line 1 Standard: `1234567890-= Line 2 Standard: qwertyuiop[] Line 3 Standard: asdfghjkl;'# Uppercase: ASDFGHJKL Special: Caps Lock Line 4 Standard: \zxcvbnm, Alternate: |<>? Uppercase: ZXCVBNM Special: Shift
- Which Row is the Key On? - Code Golf Stack Exchange
Pyth, 62 66 65 bytes ?zh@+,4Zmid2c Bi "0fÀÓ¸[9Ѷ¤KïLäHÉðbÀ`]ü©¬vS"16 2-CzCd3 Try it online Uses a packed string representing a number in hex which, when chopped into two-bit chunks, represents the row of every character except and ! as a value from 0 to 3 We leave out and ! so we don't have to store 4 or have a 0 at the start of this number, then add their row values using +,4Z
|
|
|