Project Name:
Card Game AZI with Trading and Bidding Elements
Project Goal:
Development of a cross-platform mobile application for playing the card game Azi, as described in the provided rules. The application should be available on iOS and Android platforms and support online multiplayer gameplay.
Functional Requirements:
- Authorization and Registration:
- Ability to register via email, phone, or through social networks (Google, Apple, Facebook).
- Ability to log into the account using a password, fingerprint, or Face ID.
- Support for guest login without registration.
- Main Menu:
- Button "Start Game" to create or join a new game.
- Button "Settings" to manage game and profile parameters.
- Button "Game Rules" to familiarize with the rules.
- Button "Store" for purchasing in-game currency or items (if applicable).
- Game Modes:
- Multiplayer Game:
- Online Mode: Play over the internet with other players.
- Training: Mode for learning the game and practicing against AI without betting.
- Card Dealing:
- Automatic determination of the card dealer.
- Animation of shuffling the deck and dealing cards.
- Display of the trump card with animation.
- Ability for players to refuse to participate in the game after the trump card is revealed.
- Trading:
- Interface for betting and raising bets.
- Support for "blind" trading and after the cards are revealed.
- Highlighting the current turn and animation for raising bets.
- Bidding:
- Interface for selecting cards for the turn.
- Automatic rule checking (suit presence, need to beat with a trump, etc.).
- Counting tricks and determining the winner of the bidding.
- Additional Rules:
- Implementation of the "different suit" rule with corresponding interface hints.
- Ability to propose "Azi" to other players, as well as automatic checking for meeting conditions.
- User Interface (UI):
- Intuitive and simple interface with gesture support.
- Design adapted for various screen sizes.
- Display of player avatars, their bets, and the current state of the game.
- Visualization of the deck, trump, bets, and tricks.
- Sound and Music:
- Background music with the option to turn off.
- Sound effects for shuffling cards, dealing, turns, betting, etc.
- Ability to choose sound packs.
- Settings:
- Sound and music settings.
- Display settings (theme, brightness, language, etc.).
- Ability to manage notifications.
- Social Features:
- Ability to add friends
- Chat for communication with other players during the game.
- Ability to send game invitations via social networks or messengers.
- VIP table by invitation
- Store (optional):
- Ability to purchase unique avatars, themes, and sound packs.
- Integration with Platforms:
- Support for cloud synchronization (e.g., via Google Play Games or Apple Game Center).
- Support for achievements and leaderboards.
- Separate achievements and leaderboards for VIP tables
Technical Requirements:
- Platforms:
- iOS: Support for iOS 13 and above.
- Android: Support for Android 8 and above.
- Development:
- Development on cross-platform frameworks such as Flutter or React Native.
- Use of responsive design to support different screen sizes.
- Ensuring stable application performance with weak internet connection.
- Server Side (for online mode):
- Ensuring secure data transmission (HTTPS).
- Using reliable servers for data storage and matchmaking.
- Data backup and the ability to restore the game in case of connection loss.
- Testing:
- Testing on various devices with different OS versions.
- Unit tests for critical functions.
- User interface and interaction testing.
Support and Updates:
- Release and Support:
- Publishing the application in the App Store and Google Play.
- Providing regular updates with bug fixes and functionality improvements.
- User support through feedback system within the application.
- Updates:
- Periodic updates with new features, themes, and improvements.
- Ensuring compatibility with new versions of iOS and Android.
Implementation Timeline:
Development of the application from scratch to release in the markets should take approximately 1-2 months, considering all testing stages.
Game Rules:
The game uses a deck of 27 cards, with a total of 3 suits. Each suit is represented by cards from 6 to Ace. The suits of the cards can be any. The game consists of 2 stages: card dealing and bidding. Before the game starts, each player bets an agreed amount of money (for example, 10 rubles). Then the players deal cards.
Card Dealing. The first dealer is determined by drawing lots. In subsequent games, players deal cards in turn clockwise. After determining the dealer, the deck is thoroughly shuffled, divided into two parts, where the top part is placed under the bottom one, and each player is dealt 3 cards from the top of the deck. The last dealt card (which must be the dealer's card) is revealed by the dealer, and the suit of this card becomes the trump suit. Players who do not wish to play after the trump is shown announce this and discard their cards on the table. Those who agree to play begin the game.
After Card Dealing. Players bid in the dark without revealing cards. The bidding starts with the player from whom the dealing began. For the following players who bid in the dark, the bet must be raised by at least 1.5 times compared to the previous player. For those who did not bid in the dark, after the cards are revealed, the bets made in the dark are doubled.
Trading. The first to act is the player sitting to the left of the dealer. He must state a bet higher than the one on the table and place that money on the table. If he does not want to raise the bet, he passes his turn. Raising the bet is allowed no more than 3 times for all players in the game. If all players pass except one, the trading ends and the bidding begins.
Bidding. The first turn in the first bidding round belongs to the player sitting to the right of the player who won the trading. This player can place any card on the table, and each subsequent player clockwise must place a card of the same suit, and if they do not have a card of that suit, they must place a trump card; if they do not have a trump card, they can place any card. When each player places one of their cards, a trick is formed from the cards, which is taken by the player who placed the highest card. The player who first takes 2 tricks takes all the money bet. If no player takes more than 1 trick, it means a draw, called Azi, after which players who took 1 trick in the previous bidding round play for the pot. The player who did not take any tricks in the previous bidding round must contribute half of the money in the pot to participate in the bidding. A player who did not participate in the bidding must place the same amount of money as in the pot to participate in the new bidding. The card dealing in the new bidding is done by the dealer if he participates in this bidding; if not, the cards are dealt by the player who took the last trick. After dealing the cards, trading and bidding proceed according to the rules described above.
There are 2 additional rules in the game:
A player who has a trump Ace and 2 cards of the same suit has the right to declare "different suit," which means the player's goal is to prevent other players from taking two tricks; in this case, the player is not obliged to beat the first card of the turn with their trump Ace if they do not have a card of that suit, but if the second turn is made in the same suit during the bidding, then it is mandatory to beat with the Ace.
Players have the right to invite each other to Azi, which means a game that does not allow other players to take more than one trick, and if one of such players takes 2 tricks, then the player does not take the pot but participates in the repeat bidding as a player who took one trick.
2.1 Access to VIP tables
VIP tables must be closed to regular users:
Description: VIP tables will only be available to users who have special access rights.
Implementation:
- Regular users cannot join VIP tables in the list of available tables.
- When a regular user attempts to enter a VIP table, the system must display a message indicating that the table is closed.
2.2 Initial Entry
The first entry to VIP tables is only with the administrator's consent:
Description: For the first entry to a VIP table, the user must obtain permission from the administrator on social media.
Implementation:
- After a request to enter a VIP table, the system must send a notification to the administrator.
- The administrator can approve or deny the request through the administrator interface.
- Upon approval by the administrator, the user gains access to the VIP table.
2.3 Chip Distribution
Chips are issued only by the game administrator:
Description: Chips for playing at VIP tables are issued only by the administrator.
Implementation:
- The administrator interface must have the ability to issue chips to users at the VIP table.
- The system must support tracking the number of issued chips and the possibility of their return.
2.4 Full Control for the Administrator
Full control for the administrator:
Description: The administrator must have full control over VIP tables, including managing access and chips.
Implementation:
- The administrator must have access to the complete list of VIP tables and the users at them.
The administrator must be able to:
- Add and remove users from VIP tables.
- Adjust the number of chips for each VIP table.
- View the history of actions and chip distribution.
2.5 Rake
The rake from bets varies from 1 to 10 percent in increments of 0.5:
Description: In VIP tables, the rake from bets must be deducted, which is set in the range from 1% to 10% in increments of 0.5%.
Implementation:
- The administrator must be able to set the rake percentage in the range from 1% to 10% in increments of 0.5%.
- The rake must be automatically deducted from each bet, making the corresponding calculations after one of the players wins.
- The administrator must see information about the current rake percentage and its impact on bets.
- Users must not have access to information about the rake.
________________________________________
3. Technical Requirements
3.1 Security
Access: All actions with VIP tables and rake settings must be accessible only to the administrator.
Encryption: Data about chips, rake, and access must be encrypted.
3.2 Interface
Administrative Interface: The administrator interface must be user-friendly for managing VIP tables, issuing chips, and setting rake.
Rake Settings: The interface for setting and changing the rake percentage must include a dropdown list or slider for selecting a value from 1% to 10% in increments of 0.5%.
3.3 Logging
Action Logging: All actions related to managing VIP tables, issuing chips, and setting rake must be logged for subsequent analysis and audit.
Log in
or
register,
to view the original