https://github.com/psimm/businessgame
R Shiny app: Browser business game about product development
https://github.com/psimm/businessgame
game shinyapp
Last synced: 4 months ago
JSON representation
R Shiny app: Browser business game about product development
- Host: GitHub
- URL: https://github.com/psimm/businessgame
- Owner: psimm
- Created: 2019-02-17T19:59:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-25T12:16:43.000Z (over 3 years ago)
- Last Synced: 2023-09-10T12:24:49.808Z (over 1 year ago)
- Topics: game, shinyapp
- Language: R
- Homepage: https://psim.shinyapps.io/business_game/
- Size: 382 KB
- Stars: 15
- Watchers: 0
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - psimm/businessgame - R Shiny app: Browser business game about product development (R)
README
A business game in which the player takes the role of a CEO. They navigate the market for a new product, using innovation and imitation tactics.

[Play it online](https://psim.shinyapps.io/business_game/) (hosted on ShinyApps.io)
This business game was part of a study at Aalborg University on human and AI business decision making. Read more about the study at https://projekter.aau.dk/projekter/da/studentthesis/human-and-ai-decision-making-in-a-game-of-innovation-and-imitation(9121a1ed-d5d7-4cf0-b725-41f822533544).html
Technical details
* The games uses ggplot2 with coord_equal() for its game board in a grid layout.
* Interactivity is realized with ggiraph::geom_point_interactive()
* The radioButtons() and ggiraph element are linked through an observeEvent() of the input$plot_selected element.
* The game primarily uses dplyr. Its state is tracked in a list of dataframes. The coding style could be described as pseudo-object oriented, as the state object is modified by various functions such as do_move() or buy().