https://github.com/mdsumner/hexwords
an extremely niche set of words to use knowingly in scrabble
https://github.com/mdsumner/hexwords
Last synced: 9 months ago
JSON representation
an extremely niche set of words to use knowingly in scrabble
- Host: GitHub
- URL: https://github.com/mdsumner/hexwords
- Owner: mdsumner
- License: other
- Created: 2021-07-29T12:55:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-29T13:09:58.000Z (almost 5 years ago)
- Last Synced: 2025-08-09T06:25:55.184Z (10 months ago)
- Language: R
- Homepage:
- Size: 64.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
output: github_document
editor_options:
chunk_output_type: console
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
fig.width = 8, fig.height = 8,
out.width = "100%"
)
```
# hexwords
The goal of hexwords is to find words that are colours.
## Installation
You can install the dev version of hexwords from github with:
``` r
remotes::install_github("mdsumner/hexwords")
```
## Example
This is a basic example which shows you the colour of several english words, it's extremely interesting and important.
```{r example}
library(hexwords)
## basic example code
op <- par(mar = rep(0, 4), bg = "darkgrey")
## we don't sort in the package data object but why not here
english_hex <- sort(english_hex)
plot(seq_along(english_hex), col = sprintf("#%s", english_hex), pch = 19, cex = 5, asp = 1, ylim = c(-0.2, length(english_hex) + 0.2), xlim = c(0, length(english_hex) + 1), xlab = "", ylab = "", axes = F)
text(seq_along(english_hex), lab = english_hex, srt = 15, cex = 0.9, pos = 4, offset = 1)
par(op)
```
## Code of Conduct
Please note that the hexwords project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.