Video Tutorial: Build a Video Game in R Shiny with Appsilon's Pedro Silva

Estimated time:
time
min

<h2 style="text-align: center;"><iframe src="https://www.youtube.com/embed/MXXS4QqJdrg" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></h2> <h2><span data-preserver-spaces="true">A Video About Building a Video Game in Shiny</span></h2> <span data-preserver-spaces="true">Did you know you can use R and Shiny to build video games? Well, don't expect to create the next </span><em><span data-preserver-spaces="true">GTA</span></em><span data-preserver-spaces="true"> in R, but you can still develop simple, enjoyable, and easy to play games. Our engineer <a href="https://appsilon.com/author/pedro/" target="_blank" rel="noopener noreferrer">Pedro Silva</a> used Shiny to create a game called </span><em><span data-preserver-spaces="true">Shiny Decisions</span></em><span data-preserver-spaces="true">, which was a Grand Prize Winner in the RStudio's 2nd Annual Shiny Contest. As part of Appsilon's <strong>Shiny Masterclass </strong>at rstudio::global, Pedro created a <a href="https://www.youtube.com/watch?v=MXXS4QqJdrg" target="_blank" rel="noopener noreferrer">video tutorial walkthrough</a> about how he built the game.</span> <blockquote><strong>Want to test drive Shiny Decisions? <a class="editor-rtfLink" href="https://sparktuga.shinyapps.io/ShinyDecisions/" target="_blank" rel="noopener noreferrer">You can do so here</a>.</strong></blockquote> <span data-preserver-spaces="true">We want to thank everyone who joined Appsilon's Shiny Masterclass at rstudio::global last week. We had over 1200 participants and modules taught by Shiny experts at Appsilon and RStudio. Don't worry if you missed the live session - </span><strong><span data-preserver-spaces="true">the recorded session will be available next week on Appsilon's </span></strong><a class="editor-rtfLink" href="https://www.youtube.com/channel/UC6LqpR5qBfNlQp5mVIVsthA/videos" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">YouTube channel</span></strong></a>.<strong><span data-preserver-spaces="true"> </span></strong><span data-preserver-spaces="true">Make sure to subscribe to the channel so that you don't miss it!</span> <h2><span data-preserver-spaces="true">Shiny Decisions</span></h2> <span data-preserver-spaces="true">The idea behind the game is simple - it's a card swiping game you can play on both desktop and mobile. Swiping in different directions affects the game in different ways, and multiple metrics are updated based on your decisions. The goal is to keep each metric at optimal levels. </span><span data-preserver-spaces="true">You can learn more about the game and how to build video games with Shiny in the video at the top of this article. </span> <span data-preserver-spaces="true">Here's a testimonial about the game given by the folks over at RStudio:</span> <blockquote> <p style="text-align: right;"><span data-preserver-spaces="true">"A game about making the best of terrible choices. In Shiny Decisions, your goal is to last as long as possible while making decisions that affect the wealth, population, and environmental quality in the world. The app is quite complex, and hard to describe with words. We strongly recommend giving the game a try to get a sense of it! The code for the app is equally complex, but very well organized."</span></p> <p style="text-align: right;"><span data-preserver-spaces="true">–</span><em><span data-preserver-spaces="true">Mine Çetinkaya-Rundel, RStudio</span></em></p> </blockquote> <span data-preserver-spaces="true">If you want to test or tweak Shiny Decisions, you can reference the following links:</span> <ul><li><span data-preserver-spaces="true">Test the game: https://sparktuga.shinyapps.io/ShinyDecisions/</span></li><li><span data-preserver-spaces="true">Get the source code: https://github.com/pedrocoutinhosilva/shiny.decisions</span></li></ul> <!--more--> <h2><span data-preserver-spaces="true">Learn More</span></h2><ul><li><a class="editor-rtfLink" href="https://wordpress.appsilon.com/is-it-possible-to-build-a-video-game-in-r-shiny/" target="_blank" rel="noopener noreferrer"><span data-preserver-spaces="true">How to Build a Video Game in R Shiny with CSS, JavaScript, and R6 Classes</span></a></li><li><a class="editor-rtfLink" href="https://wordpress.appsilon.com/dash-vs-shiny/" target="_blank" rel="noopener noreferrer"><span data-preserver-spaces="true">Python Dash vs. R Shiny - Which to Choose in 2021 and Beyond</span></a></li><li><a class="editor-rtfLink" href="https://wordpress.appsilon.com/impressive-dashboards-with-semantic-dashboard/" target="_blank" rel="noopener noreferrer"><span data-preserver-spaces="true">How to Make Impressive Shiny Dashboards in Under 10 minutes with semantic.dashboard</span></a></li><li><a class="editor-rtfLink" href="https://wordpress.appsilon.com/shiny-semantic-grid/" target="_blank" rel="noopener noreferrer"><span data-preserver-spaces="true">Introducing shiny.semantic::grid() - Build Your Shiny Dashboard Layout in Seconds</span></a></li><li><a class="editor-rtfLink" href="https://wordpress.appsilon.com/refactor-shiny-dashboards/" target="_blank" rel="noopener noreferrer"><span data-preserver-spaces="true">5 Signs It's Time to Refactor Your Shiny Dashboard</span></a></li></ul> <a href="https://appsilon.com/careers/" target="_blank" rel="noopener noreferrer"><img class="aligncenter size-large wp-image-6541" src="https://wordpress.appsilon.com/wp-content/uploads/2021/01/appsilon.hiring.20-1024x576.jpg" alt="" width="1024" height="576" /></a> <p style="text-align: center;"><strong><span data-preserver-spaces="true">Appsilon is hiring for remote roles! See our </span></strong><a class="editor-rtfLink" href="https://wordpress.appsilon.com/careers/" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">Careers</span></strong></a><strong><span data-preserver-spaces="true"> page for all open positions, including </span></strong><a class="editor-rtfLink" href="https://wordpress.appsilon.com/careers/#r-shiny-developer" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">R Shiny Developers</span></strong></a><strong><span data-preserver-spaces="true">, </span></strong><a class="editor-rtfLink" href="https://wordpress.appsilon.com/careers/#fullstack-software-engineer-tech-lead" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">Fullstack Engineers</span></strong></a><strong><span data-preserver-spaces="true">, </span></strong><a class="editor-rtfLink" href="https://wordpress.appsilon.com/careers/#frontend-engineer" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">Frontend Engineers</span></strong></a><strong><span data-preserver-spaces="true">, a </span></strong><a class="editor-rtfLink" href="https://wordpress.appsilon.com/careers/#senior-infrastructure-engineer" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">Senior Infrastructure Engineer</span></strong></a><strong><span data-preserver-spaces="true">, and a </span></strong><a class="editor-rtfLink" href="https://wordpress.appsilon.com/careers/#community-manager" target="_blank" rel="noopener noreferrer"><strong><span data-preserver-spaces="true">Community Manager</span></strong></a><strong><span data-preserver-spaces="true">. Join Appsilon and work on groundbreaking projects with the world's most influential Fortune 500 companies.</span></strong></p>

Contact us!
Damian's Avatar
Damian Rodziewicz
Head of Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Have questions or insights?
Engage with experts, share ideas and take your data journey to the next level!
Join Slack
Explore Possibilities

Take Your Business Further with Custom Data Solutions

Unlock the full potential of your enterprise with our data services, tailored to the unique needs of Fortune 500 companies. Elevate your strategy—connect with us today!

Estimate Project
shiny
shiny dashboards
video tutorials
r
rstudio
tutorials