UConn CSE 4904 - Online Card Playing (22 pages)

Previewing pages 1, 2, 21, 22 of 22 page document View the full content.
View Full Document

Online Card Playing



Previewing pages 1, 2, 21, 22 of actual document.

View the full content.
View Full Document
View Full Document

Online Card Playing

49 views

Other


Pages:
22
School:
University Of Connecticut
Course:
Cse 4904 - Computer Science Design Laboratory

Unformatted text preview:

JokerStars Online Card Playing William Sanville Milestone 4 Background Online card system specializing in Texas Hold em poker Similar to popular systems such as PokerStars Full Tilt Poker Client Server model Scope Revision Original Plan One table of No Limit Hold em with one to nine players Revised Plan Many tables of No Limit Hold em with one to six players System should be flexible enough to support many tables concurrently Implementing just a single table would be a waste Module Dependencies Integration Testing Entry Criteria Modules must pass unit testing Many of the modules are simple class definitions with no interaction with other modules Examples Events module SQL module Game Entities module Bottom up approach Unit Testing SQL module Execute stored procedures verify that the expected results occur Example Connect to the database server Record the chip count for user1 Call the IncreaseChipCount method defined in the SQL module with parameters user1 and 100 Verify that the user s chip count has increased by 100 Call the DecreaseChipCount method defined in the SQL module with parameters user1 and 100 Verify that the user s chip count has returned to the original value Unit Testing Continued Game Entities module Deck must be able to shuffle itself Pseudorandom number generator is OK for this project Deck must not contain any duplicate cards Collections module Verify the behavior of custom data structures Events module Only class definitions with sets and gets Side affect of how C language is structured Integration Testing Two Phases Integration testing can be broken into two main phases Phase One Perform integration testing on Client Server and Networking modules This is the foundation for the JokerStars system Phase Two Perform integration testing on the remaining modules Game Engine User Interface Game Entities Phase One Client Server Net Common functionality of Client and Server is implemented in the Networking module Packet buffers serialization Client and



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Online Card Playing and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Online Card Playing and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?