OpenFive-in-Row

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
      • if client is already connected the information message is sent to the client and connection is terminated
  • 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
      • klientovi je odeslana zprava a odpoji se
  • Uzivatel se muze pripojit k jinemu serveru
    • po volbe v menu program vyzve k zadani IP adresy
    • pri odpojeni nebo ukonceni spojeni je serveru odeslana zprava a server prestane naslouchat
  • 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 source code:

Team

Project Manager:

  • Adam Netočný

Developers:

  • Luboš Doležel
  • Martin Nuc
  • Tomáš Mazák
 
start.txt · Last modified: 2010/03/18 16:40 by netocada
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki