Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rossellhayes/twenty48

2048 in the R console
https://github.com/rossellhayes/twenty48

Last synced: 3 months ago
JSON representation

2048 in the R console

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)

# remotes::install_github("GuangchuangYu/badger")
library(badger)
```

# twenty48

`r badge_cran_release(color = "brightgreen")`
`r badge_lifecycle("stable")`
`r badge_license(color = "blueviolet")`
`r badge_github_actions(action = "R-CMD-check")`
`r # badge_codecov()`
`r # badge_dependencies()`

A clone of [Gabriele Cirulli's 2048](https://github.com/gabrielecirulli/2048) in R.

## Installation

You can install the released version of **twenty48** from [CRAN](https://cran.r-project.org/package=twenty48) with:

``` {r eval = FALSE}
install.packages("twenty48")
```

or the development version from [GitHub](https://github.com/rossellhayes/twenty48) with:

``` {r eval = FALSE}
# install.packages("pak")
pak::pkg_install("rossellhayes/twenty48")
```

## Example

![Gameplay recording](man/figures/recording.gif)

---

Hex sticker font is [Source Sans by Adobe](https://github.com/adobe-fonts/source-sans).

Recording made with [ScreenToGif by Nicke Manarin](https://github.com/NickeManarin/ScreenToGif/).

Please note that **twenty48** 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.