HTML and CSS Reference
games, the extension contains much of the game logic, relying on the clients for displaying
and gathering user input.
At the very minimum, an extension contains what is known as a plug-in . A plug-in is a code
er wins a hand. In this way, the server holds the true state of the game. Using an extension
helps keep a game flowing and lessens the users' ability to cheat. For the simple examples in
this chapter, we will not be using any server-side extensions. However, if you delve further
into ElectroServer or other socket-server applications, you should make sure to learn as much
as possible about them.