Team Project solution: Analysis and Design of e-poker

Source: Internet
Author: User

Summary

This article describes in detail the specific solution and Concept Design and Analysis of the project of our team.

Introduction

Today's mobile games are diverse, and card games alone are already countless. The card and casino games on the androidmarket for people to download have already reached more than 380, with different game rules different from each other, to find the desired gameplay, you may need to download the corresponding game as needed.

On the other hand, these games can only compete with computers. They do not have the pleasure of winning or losing people, or compete with others through the game operator's server vs. platform, which consumes mobile phone traffic. Our project provides a solution to these two problems.

Application scenarios

When we are with friends, we want to seek a way of entertainment, but we are unable to do it because of limited conditions. For example:

How can we get bored with long distance trains?

To keep a quiet and tidy place, do not do too much action, but want to relax with friends ......

Similar to this situation, although two people are very close in space, they need a higher level of interaction. Therefore, it is necessary to establish close-up interactions. In today's information age, mobile phones and networks are the first thing that comes to mind.

To solve this problem, we came up with the idea of writing a wi-fi-based multiplayer game on our cell phone. Using a mobile phone as the server and other mobile phones as the client, a multi-person Internet star network is realized.

We use this physical network as the underlying foundation for close-range virtual interaction. The network is maintained only on the server side. To strengthen the robustness of the network, each device should have the right to become a server to ensure that network communication is normal after a server encounters a problem.

Implementation Method

Specifically, our project is a Wi-Fi network-based e-poker application. Unlike ordinary card games, this application stores the complete rules of the game. It is just a framework that provides players with a platform for free operation. This platform can be structured into three layers:

1. Physical Layer

This layer is an abstraction of physical entities and atomic operations. Cards and players in the physical world can be directly mapped to our abstract model. Each abstract object has a series of method interfaces for calling to complete atomic operations of certain functions. For example, at this level, there will be a card class, including the card color, size, visibility, ownership card stack and other attributes, and there are methods such as move and turnover. This layer should ensure compatibility with all multiplayer card games.

2. Rule Layer

This layer is built on the physical layer and is responsible for sequential operations and game rule abstraction. Only a series of basic operations at the underlying layer may cause tedious user operations. Users' commonly used poker games are relatively fixed. You can replace a series of basic operations by applying embedded sequence operations or custom operations. To simplify operations and improve user experience.

3. Smart Layer

Sometimes, users' poker gameplay is not included in predefined rules, and users are too reluctant to edit custom rules. The app itself can automatically learn users' gameplay and explore the rules in the game board, when appropriate, the user is prompted whether to use the mobile phone calculation rules.

Shows the entire structure:

Intelligent Layer

Rule recognition: take turns to give cards,
A is larger than K

Rule Layer

Sequential operation: licensing and shuffling

Game Rules: landlords, fraud

Physical Layer

Physical entities: cards, cards, and players

Atomic operation: Move and flop

For players, this app provides a set of cards on which players can perform any operations they want. At the same time, the app also provides some quick and simplified operations for players, and tries to understand the players' intentions to facilitate the game board.

Summary

Need: in many cases, such an application is needed to enrich interaction between close friends.

Approach: After investigation, the underlying layer of Windows Phone 7.1 supports socket connections between mobile phones. The upper layer adopts our three-layer abstract structure model. Combined with the design of the Silverlight user interface, we can achieve what we need.

Benefits: Our applications can simplify user operations to Meet Players' needs, save users' item expenses, and bring convenience to players.

Competition.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.