Skip to content

Commit

Permalink
Update dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckey-Elijah committed Feb 20, 2023
1 parent c5c01fa commit 5aa9fdd
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 148 deletions.
2 changes: 0 additions & 2 deletions lib/clordle.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
library clordle;

export 'src/src.dart';
24 changes: 12 additions & 12 deletions lib/src/utils/keyboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ Iterable<String> keyboard({
final closes =
playedLetters.where((letter) => letter.status == LetterStatus.close);

const qwer = ['Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P'];
const asdf = ['A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L'];
const zxcv = ['Z', 'X', 'C', 'V', 'B', 'N', 'M'];
const qwerRow = ['Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P'];
const asdfRow = ['A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L'];
const zxcvRow = ['Z', 'X', 'C', 'V', 'B', 'N', 'M'];

final _qwer = keyboardRow(
qwer,
final qwer = keyboardRow(
qwerRow,
close,
hit,
miss,
hits: hits,
misses: misses,
closes: closes,
).join(' ');
final _asdf = keyboardRow(
asdf,
final asdf = keyboardRow(
asdfRow,
close,
hit,
miss,
hits: hits,
misses: misses,
closes: closes,
).join(' ');
final _zxcv = keyboardRow(
zxcv,
final zxcv = keyboardRow(
zxcvRow,
close,
hit,
miss,
Expand All @@ -56,9 +56,9 @@ Iterable<String> keyboard({
).join(' ');

yield '┌─────────────────────┐';
yield '│ $_qwer │';
yield '│ $_asdf │';
yield '│ $_zxcv │';
yield '│ $qwer │';
yield '│ $asdf │';
yield '│ $zxcv │';
yield '└─────────────────────┘';
}

Expand Down
Loading

0 comments on commit 5aa9fdd

Please sign in to comment.