Foreword: Everything related to the laws will always be in a gray area, because the outcome of the case ultimately comes from a handful of people.
Others have pointed out that the code and the assets of the game are under the copyright law and that the names of the products, companies, etc. they are under the law of registered trademarks.
However, although others have pointed out that you can not protect the mechanics of the game, this is not 100% true.
Let's look at the legal history of Tetris, a game often cloned by new game developers.
In mid-2006 and at the end of 1997, the TTC legal counsel sent cease and desist letters to the websites based on Tetris-type games that infringe the trademark, commercial image and / or copyright of "Tetris" , and / or "copyright". Around 2009, TTC and Tetris Holding LLC filed legal actions against BioSocia, Inc. because the game "Blockles" of BioSocia infringed the property rights of TTC and Tetris Holding LLC. On September 10, 2009, the legal case against BioSocia was resolved, and BioSocia agreed to stop making the game "Blockles" available to the public. In May 2010, TTC's legal counsel sent cease and desist letters to Google insisting that 35 Tetris clones be removed from the Android Market. A judge of the US District Court UU It ruled in June 2012 that the clone Tetris "Mino" of Xio Interactive infringed the copyright of the Tetris Company by replicating elements such as the dimensions of the playing field and the shapes of the blocks.
Tetris and Mino
So, the mechanical games are copyrighted? The answer, as with many legal issues, is perhaps.
Read more about Mino vs. Tetris here.