I made a turn based game and would like to make a back end engine
running on Linux or Mac. The game is turnbased 2 player (think chess
like) but there can be many games going on at once. Speed would not be
the problem since not much data goes between players.
What I need is the following:
Make a Ruby application that is running in some idle loop, but when a
network data packet comes in to notify some event/delegate function to
process the request and go back to idle (or be doing something else).
I dont want polling of sockets, timers, etc etc. Also does Ruby have
event driven frameworks in general?