{"id":19497093,"url":"https://github.com/rlesur/rcade","last_synced_at":"2025-04-25T22:31:44.789Z","repository":{"id":78263134,"uuid":"128283873","full_name":"RLesur/Rcade","owner":"RLesur","description":"Games to procrastinate with RStudio","archived":false,"fork":false,"pushed_at":"2018-07-03T20:36:28.000Z","size":15365,"stargazers_count":167,"open_issues_count":3,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-06T03:04:35.729Z","etag":null,"topics":["games","html5","r","rstats","rstudio"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RLesur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-04-06T01:31:20.000Z","updated_at":"2024-07-29T13:16:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"59668310-8a5e-4465-bf15-0d36d496f7bb","html_url":"https://github.com/RLesur/Rcade","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLesur%2FRcade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLesur%2FRcade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLesur%2FRcade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLesur%2FRcade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RLesur","download_url":"https://codeload.github.com/RLesur/Rcade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224019583,"owners_count":17242176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["games","html5","r","rstats","rstudio"],"created_at":"2024-11-10T21:43:08.138Z","updated_at":"2024-11-10T21:43:09.868Z","avatar_url":"https://github.com/RLesur.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rcade\n\nThe goal of `Rcade` is to provide access to games in order to waste some times in RStudio. You can play 2048, Tetris, Mario, Pacman, Spider Solitaire and others.\n\n## Installation\n\nThis package will never be released on CRAN.  \nYou can install the development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github('RLesur/Rcade')\n```\n\n## Usage\n\n### List available games\n\n``` r\nRcade::games\n```\n\n### Play a game\n\nThe first time you launch a game, you will be asked for installation.  \nPlaying a game is quite easy. Here are some examples:\n\n``` r\nRcade::games$`2048`\n```\n\n``` r\nRcade::games$Pacman\n```\n\n## Motivation\n\n*I always read the `Motivation` section first. Packages should always have a `Motivation` section in their `README` files.*  \n\nSo, what is the motivation behind this useless package?  \nMy first motivation was to test the RStudio viewer and I had this stupid idea to try some `HTML5` games. Why? I don't know.  \nSome folks loved the idea of playing in RStudio. So, I took some times to develop this package. That's all.\n\n## How to contribute\n\n### Try a new game \n\nThere are hundreds of `HTML5` games on [GitHub](https://github.com/). You can try a new game with the non exported `R6` constructor `Rcade:::HTML5Game`.\n\nHere's an example with the following repo: https://github.com/Zolmeister/pond\n\n``` r\nPond \u003c- Rcade:::HTML5Game$new(name = \"pond\", \n                              github = \"Zolmeister/pond\", \n                              need_servr = FALSE, \n                              path = \"index.html\")\n```\n\nTherefore, you can try to launch the game with:\n\n``` r\nPond\n```\n\nIf you get some troubles with a game, you may try with a `HTTP` server:\n\n``` r\nPond$play(TRUE)\n```\n\n### Do a pull request\n\nGames metadata are stored in [`games.yml` file](https://github.com/RLesur/Rcade/blob/master/inst/games/games.yml) (under `inst/games` directory). You only have to add extra games to this file. Here's [an example](https://github.com/RLesur/Rcade/pull/2/files).\n\n## Credits\n\nThis package includes some non exported functions of the [`webshot` package](https://github.com/wch/webshot).  \n`webshot` package author: Winston Chang  \n`webshot` package contributors: Yihui Xie, Francois Guillem, Barret Schloerke  \nLicense: GPL-2\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlesur%2Frcade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frlesur%2Frcade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlesur%2Frcade/lists"}