Fact-checked by Grok 2 weeks ago

SameGame

SameGame is a single-player tile-matching in which players select and remove groups of two or more adjacent blocks of the same color from a rectangular , causing the blocks above to fall downward to fill empty spaces and empty columns to shift leftward, with the goal of clearing the entire board to maximize a score based on group sizes and potential bonuses or penalties for remaining blocks. It is also known by names such as Clickomania, Jawbreaker, and Bubble Breaker in various implementations. Originally invented in 1985 as Chain Shot! by Japanese developer Kuniaki Moribe (also known as Morisuke) for the FM-8/7 home computers and published in Gekkan ASCII magazine, the game was reimplemented in 1992 as SameGame by Eiji Fukumoto for UNIX systems and subsequently ported to platforms including the PC-9801 by Wataru Yoshioka that same year. A 1993 version by Ikuo Hirohata introduced an English translation by Hitoshi Ozawa, while a 1994 Macintosh port by Takahiro Sumiya used only three colors and significantly boosted the game's popularity among Western audiences, inspiring open-source adaptations like Same Gnome and KSame for . The game's mechanics emphasize strategic planning, as removing larger groups yields higher points—typically calculated as (n-2)^2 where n is the group size—while a 1,000-point bonus is awarded for fully clearing the board, though penalties apply for leftover blocks at the end. Commonly played on a 15×15 grid with five colors, SameGame has been analyzed extensively in artificial intelligence research due to its combinatorial complexity, with the standard version proven NP-complete and its game-tree complexity estimated at approximately $10^{82}. Notable variants include reduced-color editions for simpler play, larger or irregular board sizes, and the "chessboard variant" that enforces alternating color patterns to increase difficulty, as explored in algorithmic solving studies. Its enduring appeal lies in the balance of accessibility and depth, making it a staple in puzzle game collections and a benchmark for single-player game-solving techniques like Monte-Carlo Tree Search.

History

Origins and Invention

SameGame originated as Chain Shot! (チェーンショット), a pioneering tile-matching puzzle invented in by game Kuniaki Moribe, who also went by the pseudonym Morisuke. Moribe developed the specifically for Fujitsu's FM-7 and FM-8 home computers, marking it as one of the earliest examples of chain-reaction puzzle mechanics in digital gaming. The game debuted in through a unique distribution method tailored to the era's hobbyist computing community. Moribe submitted the FM-8 version to Monthly ASCII, a prominent magazine, where its was published in the November 1985 issue, allowing users to type it in and run it on their systems. This approach positioned Chain Shot! as an accessible for FM-series owners, establishing it as a foundational tile-matching puzzle that emphasized group removal and gravitational shifts. At its core, Chain Shot! introduced a simple yet innovative chain-reaction mechanic where players select and eliminate adjacent blocks of the same color, causing the board to collapse and rearrange, which evolved directly into the removal-based central to SameGame's enduring . This foundational influenced subsequent adaptations, including the 1992 Unix port known as SameGame.

Early Releases and Ports

Following the original 1985 release of the game as Chain Shot! for Japanese hardware by Kuniaki Moribe, early adaptations in the early 1990s marked a pivotal expansion beyond its initial platform. In 1992, Eiji Fukumoto ported the game to Unix systems, renaming it SameGame and increasing the color palette to five, which facilitated its introduction to English-speaking audiences through open-source distribution. That same year, Wataru Yoshioka adapted it for the NEC PC-9801, contributing to its growing visibility in Japan via floppy disk sharing. By 1993, Ikuo Hirohata developed a version for , with English translation by Hitoshi Ozawa, establishing it as an early title that proliferated through systems and early file exchanges. In 1994, Takahiro Sumiya created a Macintosh port featuring three colors, which became one of the most widely circulated variants and influenced subsequent Unix derivatives like . These ports, primarily shared as freeware or low-cost shareware, significantly broadened accessibility from niche Japanese computers to international desktop environments by the mid-1990s.

Later Developments and Research

Following the initial popularity of SameGame in the 1990s, academic interest in the game's computational complexity emerged in the early 2000s. In 2001, Therese Biedl, Erik Demaine, Martin Demaine, Anna Lubiw, and John Iacono published a seminal paper analyzing the solvability of Clickomania, a variant closely related to SameGame, demonstrating that determining whether a given board configuration can be completely cleared is NP-complete even for restricted cases such as two columns with five colors or five columns with three colors. This result established the inherent difficulty of perfect play in SameGame-like puzzles, influencing subsequent research on puzzle-solving algorithms. Advancements in solving methods continued with heuristic approaches. A 2009 study by Frank Takes and Walter Kosters introduced an improved solver for SameGame using Monte-Carlo simulations to estimate move quality and find near-optimal clearing sequences, outperforming prior exhaustive search techniques on standard 15x10 boards with five colors by achieving higher average scores in limited time budgets. This method simulated random playouts from potential moves to guide , providing a practical framework for AI-driven play without requiring full exploration. In terms of implementations, post-2016 developments have been modest and primarily indie-driven, with no major commercial revivals as of 2025. Mobile ports proliferated on and platforms, such as "Same Game Mobile" for (updated through 2022) and various Android apps like those by Abe3.net (last updated 2023), offering classic gameplay with minor UI enhancements but retaining core mechanics. Web-based versions also appeared, exemplified by the 2017 JS1k competition entry "samegame1k," a compact 1KB implementation that demonstrated the game's adaptability to browser constraints. In 2025, indie developer Gingerbeardman released Shark Turtle, a feature-rich native adaptation for the Playdate handheld console. Open-source efforts have grown notably on since 2016, focusing on solvers rather than consumer-facing games. Projects like sgbust (a C++ beam-search solver) and contributions to platforms like Codingame's SameGame optimization challenges highlight community-driven advancements in , often building on NP-completeness insights to tackle harder variants. These repositories, numbering over a active ones by , underscore SameGame's enduring as a for puzzle-solving research without corresponding commercial momentum.

Gameplay

Core Mechanics

SameGame is a tile-matching puzzle game played on a rectangular grid, typically measuring 15 rows by 15 columns, though variations like 20×15 exist in different implementations. The board is initially filled with blocks of 5 distinct colors, randomly distributed to create a challenging layout. The game's core mechanic revolves around removing groups of two or more orthogonally adjacent blocks of the same color by selecting them, which eliminates the group and alters the board configuration. Upon removal, blocks directly above the cleared space in the same column fall downward due to , filling any resulting gaps and potentially forming new removable groups. If an entire column becomes empty after this falling process, all columns to its right shift leftward to close the gap, compacting the board and further enabling strategic plays. This dynamic rearrangement emphasizes planning ahead, as each move irreversibly changes the board's structure. The primary is to clear the entire board of all blocks, which grants a substantial and represents the optimal outcome. However, the game concludes when no valid groups of two or more adjacent same-colored blocks remain, resulting in a partial clear scored based on the blocks removed and those . Achieving a full clear requires precise sequencing of moves to avoid isolating single blocks, making it a test of spatial reasoning and foresight.

Rules Variations

SameGame implementations often deviate from the standard rules to introduce new strategic elements and increase variety. While the core game relies on orthogonal adjacency—where blocks connect horizontally or vertically—some variants expand this to include diagonal connections, allowing larger groups to form and altering puzzle solvability. Grid dimensions and color counts frequently vary across versions to adjust difficulty and board complexity. Experimental analyses have tested boards ranging from 7×7 to 15×15 cells, typically filled with 5 colors, though smaller 5×5 grids with 2 colors appear in specialized variants like the chessboard version, where tiles alternate in a checkerboard pattern to create unique solvability challenges. Endless modes, common in mobile adaptations, regenerate the board by adding new columns of blocks after clears, enabling prolonged play without a fixed end state. Special rules further diversify in certain editions. Bomb blocks function as power-ups that eliminate entire rows, columns, or areas upon activation, providing strategic relief for stuck positions and earned through specific clears. Three-dimensional variants replace the flat grid with stacked cubes, where removals cause cascading falls in multiple axes, adding depth to . A lives system appears in select ports, deducting attempts for invalid or non-progressive moves until depletion ends the session, emphasizing careful .

Scoring Systems

In SameGame, points are awarded for removing connected groups of blocks of the same color, with the scoring designed to reward larger groups exponentially to promote over random removals. The standard grants (n - 2)^2 points for a group of n blocks where n \geq 3, while groups of 1 or 2 blocks score nothing, ensuring that only meaningful clusters contribute to the total. For instance, clearing a 5-block group yields (5 - 2)^2 = 9 points, whereas a 10-block group scores (10 - 2)^2 = 64 points, highlighting the quadratic scaling that favors big clears. Some variants adjust this to (n - 1)^2, which assigns 1 point to pairs and scales upward, making smaller removals viable and altering the risk-reward . A common bonus of 1000 points is added upon fully clearing the board, often comprising 20-50% of a high-score game on a standard 15×15 grid with 225 blocks, as it incentivizes complete solvability. In implementations with penalties for incomplete clears, the final score is reduced by summing (r - 2)^2 for each remaining connected group of r blocks of the same color. Goal-based scoring appears in multi-level implementations, where players advance by meeting targets such as reaching a specified score threshold or clearing a percentage of the board (e.g., all blocks for full completion), shifting focus from open-ended maximization to progressive challenges.

Visual Design

Block Representations

In the original version of for the computer, blocks were depicted as pixelated squares in four distinct colors, filling a 20×10 grid without advanced shading or effects. This minimalist representation relied on basic capabilities of the era, emphasizing color distinction over graphical complexity to facilitate on limited hardware. Standard implementations of SameGame portray blocks as solid-colored squares, commonly using five colors—such as , , , and —to create visually distinct groups for matching. These blocks maintain a flat, uniform appearance to prioritize clarity and ease of during play, with removal often accompanied by fade or pop animations as groups disappear and adjacent blocks shift to fill the . Thematic variations introduce alternative depictions to enhance engagement, such as colored balls representing candies in Jawbreaker-style ports instead of abstract colors. Other editions, like the NUON hardware's SameGame - Shapes, replace color-based matching with geometric forms (e.g., triangles, hexagons) or abstract patterns, while some incorporate gradients for a pseudo-3D shine effect on removal, simulating depth through subtle lighting transitions. Over time, block visuals have evolved from the FM-7's rudimentary pixels to more polished designs in modern ports, including subtle shine and explosion animations for cleared groups to provide feedback on successful moves. Accessibility features in certain implementations include color-blind modes that overlay patterns or textures on blocks, allowing differentiation beyond hue alone.

Board and Interface Styles

SameGame boards are typically structured as fixed rectangular grids, with configurations including a ×15 using five colors or a 20×20 layout in variants like Clickomania employing ten colors. These grids consist of tiles filled pseudorandomly at the start of each game. While most implementations maintain this rectangular format without irregular shapes, some allow configurable dimensions for rows and columns to accommodate varying difficulty levels or experimental setups. User interfaces in SameGame emphasize simplicity to focus on puzzle-solving, commonly featuring a score display that updates in based on group removals, alongside basic menus for starting new games or refreshing the board. On desktop versions, interaction occurs via clicks on colored s or buttons representing groups, often rendered as an array of interactive rectangles in graphical toolkits like Java Swing. adaptations replace input with touch controls, where players tap a to select and remove contiguous same-colored groups, supporting seamless play on touch-enabled devices without additional hardware. Variations in interface styles incorporate visual and auditory to enhance , such as dynamic backgrounds selected from curated sets and "juice effects" tied to tile removals, including scale animations for spawning and destroying pieces, particle explosions, and smooth translations for falling blocks. These elements, often hand-crafted or procedurally generated, provide immediate sensory responses to actions, with sound effects accompanying destructions to reinforce successful moves. In web-based implementations, responsive designs ensure compatibility across devices, adapting the grid layout for smaller screens while maintaining core interaction fidelity.

Implementations

Computer and Web Versions

SameGame saw early adaptations for personal computers in the 1990s, particularly as titles for Windows. A notable Windows , was distributed as and emulates the core puzzle mechanics on Windows 3.1 and later systems. Open-source implementations have contributed to the game's longevity on desktop platforms. For instance, a cross-platform for and Windows, released under the General Public , provides a straightforward graphical interface and is hosted on for free download and modification. Additionally, numerous GitHub repositories feature open-source AI solvers, such as sgbust, which employs algorithms to optimize puzzle solutions and demonstrate computational approaches to maximizing scores. Web-based versions emerged prominently in the late 2000s, enhancing accessibility without requiring installations. In 2008, a implementation by developers Steve and Oliver Baker offered customizable gameplay, including adjustable board sizes and color counts, playable directly in browsers. Further innovation appeared in 2017 with samegame1k, a compact entry for the JS1k code golfing competition that fits the entire game into 1024 bytes of while retaining essential mechanics. HTML5 has enabled modern browser-based playthroughs, focusing on seamless cross-platform compatibility. Examples include implementations using frameworks like , which integrate SameGame logic into responsive web environments for instant access on desktops and devices. As of 2025, indie web applications continue to proliferate, emphasizing free, no-download experiences on platforms like , where users can engage in standard SameGame sessions without software installation. These efforts prioritize broad accessibility, though no significant commercial updates have surfaced recently, sustaining the game's presence through community-driven, browser-centric ports.

Console and Mobile Ports

SameGame has seen several adaptations for gaming consoles and mobile devices, beginning with dedicated releases on Nintendo platforms in the 1990s and extending to touch-based apps in the 2000s and beyond. The Super Famicom (SNES) version, developed and published by , was released exclusively in on , 1996. This port adapted the puzzle mechanics for the console's controller, using the to navigate and select groups of adjacent blocks while buttons handled confirmation and menu interactions. A Game Boy port followed on April 25, 1997, also by , optimizing the for the handheld's limited buttons and , with similar -based controls for block selection. Homebrew implementations for the incorporated touch support, such as DSameGame, allowing players to directly tap groups of blocks on the lower screen using the stylus. These homebrew versions leveraged the dual-screen setup for displaying the board on one screen and scores or options on the other. Mobile ports proliferated with the of smartphones, starting with an iOS app released in July 2008 by independent developer Steven Troughton-Smith, available on the and featuring gesture-based tapping on touchscreens to clear block groups. Android equivalents emerged as clones under names like Clickomania, with apps such as ClickOMania by Carbon People offering retro-style gameplay and variations like bombs or magnets, integrated into since at least 2010 and relying on gestures for mobile play. Post-2016 mobile implementations largely consist of unofficial clones without original branding, focusing on ad-supported models while preserving core touch controls but adding in-app purchases for hints or themes. These adaptations emphasize portability and accessibility, with controller mappings on consoles giving way to direct interactions on handhelds and phones.

References

  1. [1]
    Games and AI Group - Maastricht University
    SameGame is a puzzle game originally invented as Chain Shot! in 1985 by Kuniaki Moribe (Morisuke), which was distributed for Fujitsu FM-8/7 series.Missing: history | Show results with:history
  2. [2]
    Solving SameGame and its Chessboard Variant - ResearchGate
    The game is played on a two-dimensional board (or grid) with N tiles (or fields, squares, stones or blocks). The tiles of a puzzle each have one out ...
  3. [3]
    Chain Shot - WE Computers Museum
    Nov 21, 2024 · Chain Shot (チェーンショット) was a puzzle game by Kuniaki Moribe. It started a subgenre of puzzle games known as SameGame.Missing: origins invention Fujitsu
  4. [4]
    Chain Shot (1985) - MobyGames
    Aug 11, 2023 · Chain Shot! is a puzzle game and the first title to explore the concept of tile matching puzzle design through a mechanic where adjoining blocks of the same ...Missing: Fujitsu | Show results with:Fujitsu
  5. [5]
    Single-player Monte-Carlo tree search for SameGame - ScienceDirect
    SameGame is a puzzle invented by Kuniaki Moribe under the name chain shot! in 1985. It was distributed for Fujitsu FM-8/7 series in a monthly personal computer ...
  6. [6]
    [PDF] Very Important Game People in the History of Computer and Video ...
    The game was re-released as Same Game in 1992 by Eiji Fukumoto for UNIX platforms and later by Wataru Yoshioka for NEC PC-9801. The latter version was ...
  7. [7]
    [cs/0107031] The Complexity of Clickomania - arXiv
    Jul 21, 2001 · On the other hand, deciding whether a puzzle is solvable (all blocks can be removed) is NP-complete for two columns and five colors, or five ...
  8. [8]
    [PDF] The Complexity of Clickomania | Semantic Scholar
    ... a puzzle is solvable (all blocks can be removed) is NP-complete for two columns and five colors, or five columns and three colors.
  9. [9]
    Same Game Mobile - App Store
    Rating 2.8 (14) · Free · iOSLegendary puzzle game is here! With all the unforgettable graphics and details, Same Game for iOS will get you back to those years. Start playing now, for free.
  10. [10]
  11. [11]
    JS1k 2017 - Demo 2650 - "samegame1k"
    JS1k 2017 demo: "samegame1k" -- Clear the field by removing groups of more than one colored square; the larger the group you remove, the more points you ...Missing: SameGame | Show results with:SameGame
  12. [12]
    chausner/sgbust: Optimized multi-threaded SameGame solver in C++
    sgbust is a command-line tool that uses beam search to find good solutions for SameGame puzzles. Building To build sgbust, a C++20-compliant compiler is ...Sgbust · Usage · Solving Grids
  13. [13]
    Optimize your algorithm with "SameGame" - Coding Game
    This is a port of the tile-matching puzzle SameGame. The rules are the same as used for benchmarks in AI publications. Human-playable version is available here.
  14. [14]
    [PDF] Attacking SameGame using Monte-Carlo Tree Search - DiVA portal
    Schadd et al. in 2008 beat the score using their so called Single-Player ... [29] F. W. Takes and W. A. Kosters Solving SameGame and its Chessboard Variant.
  15. [15]
  16. [16]
    SameGame - Walkthrough, Tips, Review - Jay is games
    Thankfully you start with 3 different types of bombs, used to clear a row, column, or 3x3 group of blocks. You begin with one of each and only get more by ...
  17. [17]
    !3D Bubble Breaker APK Download for Android - Latest Version
    Bubble Breaker or a SameGame variation, with smooth 3D GRAPHICS! Classic puzzle game, destroy cubes of the same color by tapping on them.
  18. [18]
    SameGame - Codex Gamicus - Fandom
    SameGame was originally created as Chain Shot! in 1985 by Kuniaki Moribe (Morisuke). It was distributed for the Fujitsu FM-8/7 series in a Japanese monthly ...
  19. [19]
    Same Game
    Controls the precise mechanism used for scoring. With the default system, '(n-2)^2', only regions of three squares or more will score any points at all. With ...
  20. [20]
    Same Game (Game Boy) · RetroAchievements
    Reach a target score. 3. Connect all the pieces ... Similar Games. Same Game game badge. Same Game. Same Game ... Leaderboards. Same Game. Level 1. Cassievania ...
  21. [21]
  22. [22]
    Same Game 🕹️ Play on CrazyGames
    Rating 8.3/10 (227) · Free · GameSame Game is a free puzzle game where you match two or more blocks of the same color to clear them. When you clear a section of the same color, the blocks ...Missing: FM- 7 graphics
  23. [23]
    Jawbreaker (Same Game) APK - Free download for Android
    Match identical fruit tiles to solve the puzzle and advance through levels! 4.9 · Crossword Master - Word Puzzle. Challenge your ...
  24. [24]
    SameGame - NUON-Dome
    The first downloadable NUON game ever, SameGame comes in two variations - Shapes and Colors. Both are similar to the Dreamcast/PC game Sega Swirl in which you ...
  25. [25]
    [PDF] Monte-Carlo Tree Search Enhancements for One-Player and Two ...
    Nov 24, 2015 · Single-Player Monte-Carlo Tree Search for SameGame. Knowledge-Based. Systems, 34:3–11. (See pages 44, 64, 79, and 81.) Page 277. References.
  26. [26]
    Exploring Board Game Strategies - The Mathematica Journal
    Sep 7, 2006 · The board of SameGame, the Gnome/KDE version of HMaki. Let us try our design pattern for implementing this board game (Figure 5).Missing: variations | Show results with:variations
  27. [27]
    [PDF] Challenges in Generating Juice Effects for Games
    Oct 4, 2021 · We chose two games to use in our study: SameGame (see. Fig. 1), an existing classic game design, and Antitrust, a new game designed by Puck, ...Missing: layout | Show results with:layout
  28. [28]
    Same Game : Free Download, Borrow, and Streaming
    Sep 4, 2012 · The game was initially developed to run on MS-DOS system by Eiji Fukumoto and Wataru Yoshioka.This version is Windows ver. of this popular game.
  29. [29]
    SameGame
    SameGame is a puzzle game for Linux and Windows. The rules of the game are as follows: Downloads Latest version is 1.1.0. For other versions see files at ...
  30. [30]
    gaborbata/samegame1k: :white_square_button: An entry ... - GitHub
    Mar 7, 2023 · samegame1k is a puzzle game entry for the JS1k 2017 JavaScript code golfing competition. The goal of the competition is to create a fancy ...
  31. [31]
    Complete HTML5 SameGame game powered by Phaser 3 and pure ...
    Apr 17, 2019 · Complete HTML5 SameGame game powered by Phaser 3 and pure JavaScript SameGame class updated to latest Phaser version, featuring reverse gravity.
  32. [32]
    Same Game Release Information for Super Nintendo - GameFAQs
    Same Game is a Puzzle game, developed and published by Hudson, which was released in Japan in 1996. Same Game is a Puzzle game, developed by Shimada Kikaku ...
  33. [33]
    Same Game (SNES) - The Cutting Room Floor
    Jun 18, 2020 · Games published by Hudson Soft · SNES games · Games released in 1996 · Games released in March · Games released on March 1 · Games with hidden ...
  34. [34]
    Same Game Prices JP GameBoy | Compare Loose, CIB & New Prices
    Same Game (JP GameBoy) Details. Genre: Puzzle. Release Date: April 25, 1997. CERO Rating: Not Applicable. Publisher: Hudson Soft. Developer: none. Model Number ...
  35. [35]
    Nintendo DSi/NDS/DS Homebrew Games & Ports - GameBrew
    Clone of SameGame. 2.0 beta, Angel Barreiros, 2007/01/17. DSudoku, Original ... A spin off of Happy Rotter Shooting Stars with endless mode. 1.0, Whatter ...Minicraft DS Edition · Super Smash Bros Charged · Console · WolveSlayer
  36. [36]
    ClickOMania - Apps on Google Play
    Rating 4.4 (129) · Free · AndroidThe classic block game clickomania now more complete than ever. All variations of the game are included: - Retro clickomania - Bombs, rocks, magnets or even ...Missing: SameGame | Show results with:SameGame
  37. [37]
    ClickoMania Extreme - Apps on Google Play
    Nov 2, 2025 · The game offers dozens of levels: - Retro mode (classic clickomania 3 to 6 colors) - Bombs, rocks, magnets or even halelujah bombs - Dual color blocks, magnets ...Missing: SameGame | Show results with:SameGame