This project aims to design a relational database schema for a video game platform, specifically for managing clans, players, and performance analysis in a strategic multiplayer game. The platform helps players manage their clans, track their performance, participate in wars, and communicate within the game. The database captures player details, clan information, war assignments, performance statistics, and more.
Below is the Entity-Relationship (E-R) diagram for the database schema:
- Attributes: Username, Email Address, IP Address, Password
- Description: Stores user credentials for authentication and login purposes.
- Attributes: Username, Email Address, IP Address, Password, Role, Full Name, Level, Registration Date, Verification Status
- Description: Tracks user registration details.
- Attributes: Username, Email Address, IP Address, Password, Login Date, Login Status
- Description: Tracks login attempts, including success or failure.
- Attributes: Player ID
- Description: Represents a unique player in the game.
- Attributes: Player ID, Coordination Rating, Support Skills
- Description: Represents a deputy player with special roles and ratings.
- Attributes: Player ID, Strategy Rating, Leadership Skills
- Description: Represents a leader player with specific leadership skills.
- Attributes: Player ID, Contribution Rating, Activity Status
- Description: Represents a member of a clan with performance ratings.
- Attributes: Player ID, Full Name, Avatar, Clan Tag, Num-Star Earned, Num-Successful Attacks, Per-Destruction, Role
- Description: Stores additional information about players such as their achievements and clan affiliations.
- Attributes: Player ID, Owner Type, Clan Info, Access Level, Tactics, Status Statistics
- Description: Tracks privacy settings for players and their access to clan information.
- Attributes: Email Address, Verification Status, Verification Date
- Description: Stores email-related information for user verification.
- Attributes: Analysis ID, Successful Attacks, Defensive Successful, Stars Earned, Destruction Percentage, Contribution Score
- Description: Stores performance metrics for each player or clan.
- Attributes: Name, Clan Tag, Level, Num-Members, Rules and Explanations
- Description: Represents a clan with its details and rules.
- Attributes: Join ID, Join Date, Approval Status
- Description: Represents a player joining a clan.
- Attributes: WAR ID, Start Date, End Date, WAR Status
- Description: Tracks wars between clans, including start and end dates, and status.
- Attributes: Assignment ID, Task / Goal, Task / Goal Status
- Description: Tracks assignments during wars, including the task status.
- Attributes: Notification ID, Type, Message, Created At
- Description: Stores notifications to players, such as war events or rule changes.
- Attributes: Clan Member Info ID, Role in Clan, Game Level, Num-Attacks and Defenses, Per-Participation in the WAR
- Description: Stores additional information about members in a clan related to their participation in wars.
- Attributes: Report ID, Generated Date, Report Type, Details
- Description: Represents generated reports, such as clan performance or war outcomes.
- Authentication: Links the
User
entity to theEmail
entity for verification. - Belongs To: Associates the
User
entity with thePlayer
entity to identify which player the user belongs to. - Has Profile: Connects the
Player
entity with thePlayer Profile
entity to store detailed information about the player. - Managed By: Links the
Player
entity with thePrivacy Setting
entity to manage privacy preferences. - Linked To: Connects the
Player
entity with theEmail
entity for player email tracking. - Analysis: Links
Player Profile
toPerformance Analysis
for performance tracking. - Creates: The
Leader
entity creates and managesClan
entities. - Has Member: The
Clan
entity can have multipleJoin
entities, representing players joining the clan. - Based On: The
Clan
entity can generateReport
entities based on clan performance or participation. - Assigned To: Links
Clan Member Info
withWAR Assignment
for task management in wars.
- Attribute: The unique identifier for each entity, e.g.,
Player ID
,WAR ID
.
- Attributes: References to primary keys from other entities to create relationships, e.g.,
Player ID
in theLeader
table refers toPlayer ID
in thePlayer
table.
This project is licensed under the MIT License. See the LICENSE file for details.
- Sayyed Hossein Hosseini DolatAbadi