3.6.3 minor refactoring. Added subsubsection Pong.

This commit is contained in:
Kallfaktorn 2011-05-13 17:05:46 +02:00
parent 16657ac13f
commit 8b95b63b2e

View file

@ -6461,6 +6461,22 @@ In order to test the robustness of the GGS several different artificial
users, so called bots, have been implemented. users, so called bots, have been implemented.
Each of these bots is programmed to play a game on the GGS as similar to Each of these bots is programmed to play a game on the GGS as similar to
a real user as possible. a real user as possible.
For the GGS there is no difference in serving a real user or a bot.
A large amount of players can be simulated playing games on the GGS simultaneou
sly, which is a good stress and concurrency test for the overall system.
In section
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Statistics"
\end_inset
some of the statistical data retrieved with help of a whole network of
bots playing games is being presented.
\end_layout
\begin_layout Subsubsection
Pong
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -6493,27 +6509,16 @@ Pong is a game that consists of two pads and a ball.
The pad can only go straight up or straight down. The pad can only go straight up or straight down.
The ball moves with constant speed in one direction and never changes its The ball moves with constant speed in one direction and never changes its
heading before it reaches a pad or the boundary of the game area. heading before it reaches a pad or the boundary of the game area.
The logic of the bots In the Pong game can be simple and still behave realistic
\end_layout
\begin_layout Standard
The logic of the bots in the Pong game can be simple and still behave realistic
by watching the ball and moving its pad up or down according to the position by watching the ball and moving its pad up or down according to the position
of the ball. of the ball.
In this way the game logic can be evaluated in constant time so that it In this way the game logic can be evaluated in constant time so that it
doesn't have a bad effect while measuring robustness. doesn't have a bad effect while measuring robustness.
For the GGS there is no difference in serving a real user or a bot.
\end_layout
\begin_layout Standard
With help of this method, large amounts of players can be simulated playing
games on the GGS simultaneously, which is a good stress and concurrency
test for the overall system.
In section
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Statistics"
\end_inset
some of the statistical data retrieved with help of a whole network of
bots playing games is being presented.
\end_layout \end_layout
\begin_layout Section \begin_layout Section