Skip to content

Commit

Permalink
Sort matched words by frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
jameszhang-a committed Feb 8, 2022
1 parent 8284c95 commit 69fcf70
Show file tree
Hide file tree
Showing 6 changed files with 10,717 additions and 11,527 deletions.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"name": "wordle-solver",
"version": "1.0.0",
"description": "A wordle solver built with next.js and Chakra ui",
"homepage": "https://github.com/jameszhang-a/wordle-solver",
"author": {
"name": "James Zhang",
"email": "[email protected]",
"url": "https://wordlesolved.vercel.app/"
},
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -21,4 +29,4 @@
"eslint": "8.8.0",
"eslint-config-next": "12.0.10"
}
}
}
4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Button, Heading, Box, Text } from '@chakra-ui/react';

// Consts
import styles from '../styles/Home.module.css';
import { VALIDWORDS } from '../public/5-words';
import { VALIDWORDS } from '../public/5-letter-words';

// Components
import {
Expand Down Expand Up @@ -153,7 +153,7 @@ export default function Home() {

{hasInput() && (
<div className={styles.description}>
<p>matches</p>
<p>matches (sorted by frequency)</p>
</div>
)}

Expand Down
Loading

1 comment on commit 69fcf70

@vercel
Copy link

@vercel vercel bot commented on 69fcf70 Feb 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.