promotional bannermobile promotional banner

MonkeyGames

We have chess and battleship in World of Warcraft before GTA6!!

File Details

MonkeyGames 1.0.0

  • R
  • Feb 27, 2026
  • 7.56 MB
  • 5
  • 2.5.5+1
  • Classic + 1

File Name

MonkeyGames-1.0.0.zip

Supported Versions

  • 2.5.5
  • 1.15.8
Battleship UI Overhaul
Color Scheme — Replaced the shared dark-blue board palette with two distinct per-board color schemes:
  • Your Fleet: light blue water (#DEF5FF), blue miss dots (#62C3FF), red hit dots (#FE0156), gray ships (#BEBECA), white grid lines, red "YOUR FLEET" header bar
  • Opponent: lavender-gray water (#D1D3E1), gray miss dots (#909090), red hit dots (#FE0156), white grid lines, slate "OPPONENT" header bar (#707C96)
Header Bars — Replaced plain text headers with colored frame-backed bars. "YOUR FLEET" on red, "OPPONENT" on slate, both with white text. The inactive board's header dims to 50% alpha as a turn indicator.
Grid Lines — Added BoardWidget:EnableGridLines which insets each cell's background by 1px, revealing the board's white background as a clean grid. Only Battleship boards opt in; Chess and Blackjack are unaffected.
Ship Cell Merging — Adjacent cells belonging to the same ship merge seamlessly (internal grid gaps removed) so each vessel renders as a continuous block with a consistent outline. Different ships placed side-by-side keep the grid line between them. Uses a per-render ship-ID map for correct adjacency.
Ship End-Cap Shapes — Generated two new TGA textures (ship_cap_roundship_cap_point) and wired them up with SetTexCoord rotation:
  • Cruiser & Submarine (3 cells): rounded on both ends
  • Battleship & Destroyer (2, 4 cells): pointed on the far end (right/bottom), flat on the near end
  • Carrier (5 cells): flat on both ends (unchanged)
Hit/Miss Indicators — Generated a circle.tga texture. Hits and misses now show as filled circle dots on the cell rather than changing the cell background color or displaying an "X". On your fleet board, hit cells keep the gray ship background with a red dot; misses show a blue dot on water. The opponent board uses the same dot style.
Ghost Placement Preview — Ghost cells now merge into a continuous shape matching the final placed appearance. ClearGhost correctly restores ship-aware insets when the cursor leaves.
Win Sound — Battleships now returns "victory" instead of "checkmate" as the game-over status. Added a "victory" case to GameManager:HandleGameOver that reads state.winner directly. This routes Battleship wins to SOUND_WIN instead of SOUND_CHECKMATE.

Files changed:
  • core/Theme.lua — new per-board color constants, ship cap + circle texture paths
  • core/GameManager.lua — added "victory" status handling
  • widgets/BoardWidget.lua — added EnableGridLinesSetCellInsetSetCellBgTextureSetGridColor
  • modules/Battleships/BattleshipsUI.lua — header bars, grid lines, ship merging, end caps, circle indicators, ghost merging
  • modules/Battleships/Battleships.lua — returns "victory" instead of "checkmate"
  • images/generate_textures.py — added generate_ship_cap_roundgenerate_ship_cap_pointgenerate_circle
  • images/ship_cap_round.tga — new texture
  • images/ship_cap_point.tga — new texture
  • images/circle.tga — new texture