Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to create a simple game like tic-tac-toe or connect4 or something like that using Rails. I have a (very) basic idea of how to write a Rails app with regular html elements, but I don't really know how to get started with a game. Is it very similar, or will I likely need to use some library specific to games? For example, how would I go about rendering the game images?

Also, if I want to put this on a website, is there a free option that I could sign up for that would be able to handle extra code to render the game or do I need to buy something?

share|improve this question
Can you specify how basic you understanding of how to make rails apps with regular html elements is? – mri Mar 22 at 19:22
@mri I know Ruby and understand MVC and have seen Rails code but I've never written a Rails app before, but I have used Javascript and HTML – user1136342 Mar 22 at 19:49

closed as not a real question by gnat, Oleksi, MichaelT, Martijn Pieters, Martin Wickman Mar 23 at 13:51

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

Rails is a framework for developing websites, web-apps, and APIs. You can definitely use Rails for the backend part of your game such as score keeping, messaging, etc. As far as for the GUI or front end you can use a variation of technologies. The two most popular choices if you are going to host on the web are Flash and HTML5/JS. I would read up on making games on those two topics and decide which route you want to go.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.