All Projects → RLesur → Rcade

RLesur / Rcade

Games to procrastinate with RStudio

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Rcade

Rtutor
Creating interactive R Problem Sets. Automatic hints and solution checks. (Shiny or RStudio)
Stars: ✭ 141 (-3.42%)
Mutual labels:  rstudio, rstats
Techgames
TechGames is a complete gaming news portal to stay on top of everything in the gaming world.
Stars: ✭ 23 (-84.25%)
Mutual labels:  games, html5
Summarytools
R Package to Quickly and Neatly Summarize Data
Stars: ✭ 390 (+167.12%)
Mutual labels:  rstudio, rstats
lorem
Generate Lorem Ipsum Text
Stars: ✭ 18 (-87.67%)
Mutual labels:  rstudio, rstats
Trackmd
Tools for tracking changes in Markdown format within RStudio
Stars: ✭ 89 (-39.04%)
Mutual labels:  rstudio, rstats
rfordatasciencewiki
Resources for the R4DS Online Learning Community, including answer keys to the text
Stars: ✭ 40 (-72.6%)
Mutual labels:  rstudio, rstats
Moderndive book
Statistical Inference via Data Science: A ModernDive into R and the Tidyverse
Stars: ✭ 527 (+260.96%)
Mutual labels:  rstudio, rstats
Gtsummary
Presentation-Ready Data Summary and Analytic Result Tables
Stars: ✭ 450 (+208.22%)
Mutual labels:  rstats, html5
Darkstudio
darkstudio. A dark grey alternative to RStudio's default dark theme.
Stars: ✭ 75 (-48.63%)
Mutual labels:  rstudio, rstats
Games
一个基于Phaser的小游戏集合
Stars: ✭ 1,167 (+699.32%)
Mutual labels:  games, html5
flowmapblue.R
Flowmap.blue widget for R
Stars: ✭ 42 (-71.23%)
Mutual labels:  rstudio, rstats
Rbert
Implementation of BERT in R
Stars: ✭ 114 (-21.92%)
Mutual labels:  rstudio, rstats
Postcards
💌 Create simple, beautiful personal websites and landing pages using only R Markdown.
Stars: ✭ 208 (+42.47%)
Mutual labels:  rstudio, rstats
Course Starter R
👩‍🏫🇷 Starter repo for building interactive R courses
Stars: ✭ 281 (+92.47%)
Mutual labels:  rstudio, rstats
Rstudioconf tweets
🖥 A repository for tracking tweets about rstudio::conf
Stars: ✭ 32 (-78.08%)
Mutual labels:  rstudio, rstats
Shinyapps links
A collection of Shiny applications (links shared on Twitter)
Stars: ✭ 109 (-25.34%)
Mutual labels:  rstudio, rstats
Rstudiothemes
A curated list of RStudio themes found on Github
Stars: ✭ 134 (-8.22%)
Mutual labels:  rstudio, rstats
Mdme
Self-rendering Markdown content
Stars: ✭ 140 (-4.11%)
Mutual labels:  html5
Roadmap Web Developer 2017
Front-end (HTML5/CSS3/Javascript related) technologies to learn in 2017
Stars: ✭ 142 (-2.74%)
Mutual labels:  html5
Android Jigsaw Puzzle
Android app that allows you to draw anything and turn it into a jigsaw puzzle.
Stars: ✭ 139 (-4.79%)
Mutual labels:  games

Rcade

The 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.

Installation

This package will never be released on CRAN.
You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github('RLesur/Rcade')

Usage

List available games

Rcade::games

Play a game

The first time you launch a game, you will be asked for installation.
Playing a game is quite easy. Here are some examples:

Rcade::games$`2048`
Rcade::games$Pacman

Motivation

I always read the Motivation section first. Packages should always have a Motivation section in their README files.

So, what is the motivation behind this useless package?
My first motivation was to test the RStudio viewer and I had this stupid idea to try some HTML5 games. Why? I don't know.
Some folks loved the idea of playing in RStudio. So, I took some times to develop this package. That's all.

How to contribute

Try a new game

There are hundreds of HTML5 games on GitHub. You can try a new game with the non exported R6 constructor Rcade:::HTML5Game.

Here's an example with the following repo: https://github.com/Zolmeister/pond

Pond <- Rcade:::HTML5Game$new(name = "pond", 
                              github = "Zolmeister/pond", 
                              need_servr = FALSE, 
                              path = "index.html")

Therefore, you can try to launch the game with:

Pond

If you get some troubles with a game, you may try with a HTTP server:

Pond$play(TRUE)

Do a pull request

Games metadata are stored in games.yml file (under inst/games directory). You only have to add extra games to this file. Here's an example.

Credits

This package includes some non exported functions of the webshot package.
webshot package author: Winston Chang
webshot package contributors: Yihui Xie, Francois Guillem, Barret Schloerke
License: GPL-2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].