En
User is able to start a server
the application waits until a client connects
when client connects the user plays againts the user behind the client
if client disconnects and reconnects after a while server remembers game state and the game is resumed
user is able to cancel server
User is able to connect to the server over TCP/IP
when connecting to the server application asks for IP address to which is supposed to connect
user is able to disconnect from the server – in such case the information message is sent to the server and connection is terminated
Users play against each other according to traditional rules of game Five in a Row
the new game is begun by random of players
5 same symbols wins
game is bounded by field 25×25
the last move is graphically differs
when one of players wins the winning block is marked by a line and message box with information about winner appears
application supports chat between client and server
application is programmed in C++ with QT library
Cz
Uzivatel muze zalozit server, ke kteremu se pak pripoji jiny hrac
dokud se nepripoji nejaky klient, tak server ceka a uzivatel muze serve zrusit
po pripojeni protihrace uzivatel hraje proti klientovi
pokud se klient odpoji, server si bude pamatovat stav hry a po znovupripojeni klienta se bude ve hre pokracovat
uzivatel muze server zavrit
Uzivatel se muze pripojit k jinemu serveru
hraci hraji proti sobe podle klasickych pravidel hry piskvorky
5 tahu vedle sebe vertikalne, horizontalne i diagonalne vitezi
hra je ohranicena polem 25×25
posledni tah je graficky odlisen
kdyz jeden z hracu vyhraje, oznaci se jeho vyherni tah a oboum hracum se zobrazi zprava o tom, kdo vyhral
novou hru zacina nahodny hrac
aplikace podporuje chat mezi serverem a klientem
aplikace bude realizovana v C++ s pomoci knihovny QT
Protokol pro piškvorky
Project Manager:
Developers:
Luboš Doležel
Martin Nuc
Tomáš Mazák