| [Game] 2048 |
| « Citoyen » 1759166760000
| 2 | ||
|
Hello everyone! This is a custom script mode inspired by the classic 2048, adapted for Transformice. Merge equal-numbered tiles on a 4x4 board to reach the elusive 2048. The mode features a dedicated UI with an actions panel, per-player board, and real-time statistics. What this script does - Renders a per-player 4x4 board and UI directly in-game - Handles tile movement and merging logic (left/right/up/down) - Tracks score, move count, and highest tile during your session - Shows victory and game over screens with quick restart - Supports EN/RU localized UI strings How it works (brief) - Every move compresses and merges tiles according to 2048 rules; merged tiles add to your score. - After a successful move, a new tile (2 or 4) spawns in a random empty cell. - Win when you create a 2048 tile. If no moves remain and no merges are possible, the game ends. - Your session stats persist while you are in the room (games played, wins, total moves, highest score/tile within the session). Advantages - Lightweight and self-contained - Per-player isolation: each player has their own board and stats - Clear UI with an actions panel and a one-click Reset - Localized strings for better accessibility (English and Russian) Feedback and suggestions Have ideas, feature requests, or found a bug? - Please send me a private message on the forum or reply directly in this topic. I appreciate any feedback that can improve the mode. [Important!] The script only works in the tribe room. Use /lua with the necessary permissions in the tribe to run the script. v1.0 - Script - Initial public release - Core 2048 gameplay (move/merge/spawn) implemented - Per-player board and session stats (score, moves, highest tile) - Victory and Game Over flows with quick restart - Localized UI text (EN/RU) |