You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
A complete implementation of the Mexican Train dominoes game built inGodot 4, featuring realistic game mechanics, drag-and-drop functionality,and proper domino orientation behavior.
🎮 Features
Core Game Components
BoneYard: Complete domino set with drag-and-drop functionality
Hand: Player's personal domino collection with automatic sizing
Station: Central engine placement area with validation
Train: Extendable domino train with connection logic
Advanced Game Mechanics
Domino Orientation: Automatic orientation based on connection requirements
Drag-Drop Restrictions: Realistic movement rules between game areas
Player Identification: OS username detection with fallback system
Domino: Individual domino piece with orientation logic
BoneYard: Domino storage and distribution
Hand: Player's domino collection
Train: Extendable domino sequence
Station: Engine domino placement area
Utility Classes
PlayerNameUtil: OS username detection and player identification
DominoData: Data model for domino state
GameConfig: Global game configuration constants and settings
Key Features Implementation
Domino Orientation System
# Automatically orients dominoes for proper connectionsfunc_orient_domino_for_connection(domino:Domino)->void:# First domino: engine-matching side on left# Subsequent dominoes: connecting side matches previous
# Run specific test scenes from Godot editor# Available test scenes:# - scenes/test/test_server_system.tscn (automated server tests)# - scenes/test/test_server_mechanics.tscn (server control)# - scenes/test/test_server_admin_dashboard.tscn (admin interface)
🖥️ Server Testing & Administration
Quick Server Testing
# Run the automated test launcher./test_server.ps1
Manual Testing Options
1. Automated System Tests
godot scenes/test/test_server_system.tscn
Comprehensive automated testing of all server components
Tests autoloads, authentication, networking, and statistics
Recommended first step for verifying system integrity