The Map

Overview

The map in Masters of Management is a 20x20 isometric land grid, designed to enhance gameplay through a combination of land types, bonuses, and strategic occupation. Each land can be occupied, sold, or bought by players, providing unique gameplay dynamics. Lands also have bonuses which are vital for resource collection and advancement in the game.

Map Layout and Structure

  • Grid Size: The map consists of a fixed 20x20 grid, amounting to 400 lands. Each land has specific attributes and can be uniquely interacted with.

  • Land Dimensions: Each land is displayed at 386x193 pixels in isometric format. Land overlap is calculated to ensure seamless transitions across the grid, creating a consistent isometric view.

  • Map Image Layers: Background images like grass, ocean, and larger map sections are loaded to create a visually immersive experience.

Camera and Controls

The map view includes a camera system and controls for interaction:

  • Zooming: Players can zoom in or out to view different levels of map detail. The zoom levels are capped to prevent excessive zooming.

  • Dragging: Players can drag the map view to explore different areas. This allows strategic exploration of lands for resources and available land.

  • Right-Click Events: Right-clicking on a land displays its bonus resource, occupancy status, and ownership details.

  • Land Selection: Upon selecting a land, details appear in the Info Box, showing coordinates, bonus type, and sale or occupancy status.

Smart Contract Integration

Smart contracts govern the map’s land state and facilitate ownership transfers:

  • Land Data Retrieval: Smart contracts store and retrieve all land statuses, occupancy, sale status, and referrer information.

  • MetaMask: Players connect their wallets via MetaMask for land interactions, and ownership is recorded on the blockchain.

Last updated