Can games be considered real-time systems?
Posted
by harry
on Stack Overflow
See other posts from Stack Overflow
or by harry
Published on 2010-04-26T18:03:13Z
Indexed on
2010/04/26
18:13 UTC
Read the original article
Hit count: 320
I've been reading up on real-time systems and how they work etc. I was looking at the wikipedia article as well that said a game of Chess with a timer per move can be considered a real-time system because the program MUST compute a move in that time. What about other games? As we know, games generally try and run at 25+ FPS, could it be considered a soft real-time system since if it falls under 25 (I'm using 25 as a pre-defined threshold btw) it's not the end of the world, just a hit to the performance that we wanted?
Also - games have events they must handle as well. The user uses the keyboard/mouse and the system must answer those events accordingly within (again) a pre-defined time, before the game is considered to have "failed".
Oh, and I'm talking single-player for now to keep things simple.
It sounds like games fit the soft real-time system criteria, but I'd like to know if I'm missing anything... thanks.
© Stack Overflow or respective owner