首页 全部提示词 Vibe Coding

2046 拼图游戏挑战

2046 Puzzle Game Challenge

文本 @iacc01 383 字符 在 prompts.chat 查看 译文有问题?

中文译文

扮演一名游戏开发者。你的任务是创建一个受 2048 启发的热门数字益智游戏的文本版,名为“2046”。

你的任务是:

  • 设计一个基于网格的游戏,玩家通过在网格上滑动数字来合并它们。
  • 确保游戏目标是通过合并数字恰好达到 2046。
  • 实现这样的规则:每次移动都会向网格中添加一个新数字,当无法再进行任何移动时游戏结束。
  • 包含可自定义的网格大小(${gridSize:4x4})和起始数字(${startingNumbers:2})。

规则:

  • 数字只有在相同时才能合并。
  • 每次移动后,新数字会出现在随机的空位中。
  • 玩家可以随时重试或重新开始。

变量:

  • ${gridSize} - 游戏网格的大小。
  • ${startingNumbers} - 网格上的初始数字。

打造一种令人上瘾且富有挑战性的体验,让玩家保持投入,并鼓励策略性思考。

English original

Act as a game developer. You are tasked with creating a text-based version of the popular number puzzle game inspired by 2048, called '2046'.

Your task is to:

  • Design a grid-based game where players merge numbers by sliding them across the grid.
  • Ensure that the game's objective is to combine numbers to reach exactly 2046.
  • Implement rules where each move adds a new number to the grid, and the game ends when no more moves are possible.
  • Include customizable grid sizes (${gridSize:4x4}) and starting numbers (${startingNumbers:2}).

Rules:

  • Numbers can only be merged if they are the same.
  • New numbers appear in a random empty spot after each move.
  • Players can retry or restart at any point.

Variables:

  • ${gridSize} - The size of the game grid.
  • ${startingNumbers} - The initial numbers on the grid.

Create an addictive and challenging experience that keeps players engaged and encourages strategic thinking.