The purpose was not really about 'advantage' or 'disadvantage'. I'm fairly new to Ruby, and even newer to Ruby on Rails and Gosu, so i'm just trying out different things to get a feel for the language and the Gosu library.
Ideally, I'd like to do the following:
- Rails server starts
- User visits localhost:3000/play
- a view is rendered with a simple <button></button>
- when user clicks the <button>, Gosu game window opens and user can play game
And if that works:
- host the rails app(heroku or something)
- users visit
http://games.herokuapp.com/play (this is a sample link. doesn't actually exist)
- same steps as above
I'm thinking that since all dependencies are already bundled in the rails app, visitors to the webpage wouldn't need to download any extra files for this to be possible. Anyway, I'm fairly new to all this so please excuse me if what I'm trying to achieve seems ridiculous or out of the question :P