28.06.2013 Views

Papers in PDF format

Papers in PDF format

Papers in PDF format

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

‘A Cant<strong>in</strong>a i Bifarelli’: a Java based environment for real-time multiplayer<br />

Card Games<br />

Introduction.<br />

Antonio VOLPENTESTA<br />

GIUDA Lab.<br />

University of Calabria, ITALY<br />

volpente@giuda.deis.unical.it<br />

Antonio GRECO<br />

GIUDA Lab.<br />

University of Calabria, ITALY<br />

agreco@giuda.deis.unical.it<br />

V<strong>in</strong>cenzo PISCULLI<br />

GIUDA Lab.<br />

University of Calabria, ITALY<br />

v<strong>in</strong>cenzo@sungiuda.deis.unical.it<br />

Nicola FREGA<br />

GIUDA Lab.<br />

University of Calabria, ITALY<br />

nfrega@giuda.deis.unical.it<br />

In ancient days folks of Cosenza (a city of Calabria, Italy), used meet together at night <strong>in</strong> a tavern called ’A<br />

Cant<strong>in</strong>a i Bifarelli. They played card games, as the Tressette, dr<strong>in</strong>k<strong>in</strong>g w<strong>in</strong>e and chatt<strong>in</strong>g about what happened<br />

<strong>in</strong> their city.<br />

Today ’A Cant<strong>in</strong>a i Bifarelli does not exist anymore, but we have realized a software system to renew its spirit.<br />

At the present time, many Web sites give the opportunity to play card games and this testifies the <strong>in</strong>terest for<br />

such a k<strong>in</strong>d of applications <strong>in</strong> the Internet community (see Gamelan - http://www.gamelan.com or Jars -<br />

http://www.jars.com).<br />

The system may be regarded as an environment that allows users to communicate each other by a chat service,<br />

while they are play<strong>in</strong>g some card game on a virtual table. It has a client-server based architecture.<br />

In the server-side we have a Java stand-alone application which manages client calls, message exchanges and<br />

status variables for any ongo<strong>in</strong>g game.<br />

The client-side is based on some applets for manag<strong>in</strong>g the end-user graphical <strong>in</strong>terface and the communication<br />

with the server.<br />

Our system is characterized by two ma<strong>in</strong> features:<br />

• easy extensibility: a new card game may be immediately <strong>in</strong>corporated as soon as it has been implemented;<br />

• f<strong>in</strong>itely many card games can take place on different tables simultaneously.<br />

In what follows we present the realized environment by briefly describ<strong>in</strong>g:<br />

• the server architecture;<br />

• the client/server communication protocols;<br />

• the applets for the client architecture.<br />

Moreover, we show the Web pages organization for an easy access to the environment. An extented version of<br />

this paper can be found at http://sungiuda.deis.unical.it/java/HTML/paper.html. In such a version we give

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!