ScratchData LogoScratchData
Back to kriblo_test's profile

Mahjong Reskin

KRkriblo_test•Created November 20, 2023
Mahjong Reskin
6
6
175 views
View on Scratch

Instructions

Check out the awesome original project: https://scratch.mit.edu/projects/838971078 The only thing I did was to replace the tile bitmaps with SVG versions from Wikipedia: https://en.wikipedia.org/wiki/Mahjong Sorry about the reskin @colinmacc, I just really like the game, but prefer vector graphics ;) ORIGINAL INSTRUCTIONS & CREDITS BELOW: * MOBILE FRIENDLY * * FULL SCREEN RECOMMENDED * HOW TO PLAY: There are a total of 144 tiles on the board. They are split into the following groups: Bamboo, Characters, Dots, Dragons, Winds, Flowers and Seasons. Each type of tile appears four times in the game, with the exception of seasons and flowers, which only appear once. The gameplay is quite simple, though solving the game can be surprisingly tricky. Gameplay consists of finding a pair of tiles that match each other and that are open to be removed from the board. A tile can be removed if both the following conditions apply: It has an empty space on either side of the tile It doesn't have another tile covering it. A pair of tiles matches if they are in the same group and have the same type within that group. For example: Bamboo-5 can only match another Bamboo-5 tile. Bamboo-1 can not match Bamboo-2. However, the flower and season tiles are an exception to this rule. Any flower tile can match with another flower. Similarly, any season tile can match with another season tile. The game is won when you have removed all the tiles. Every game has at least one path to victory, but it is possible to get to a point where you have no possible moves left to finish the game. In that case, you can always undo your moves to a point where you believe you can make the game winnable. This project features 12 different board layouts, and an editor for you to design your own layouts. If you need to know how to use the editor, please ask! Please report any bugs! ORIGINAL CREDITS Paste your user-defined board layouts here: https://scratch.mit.edu/discuss/topic/725277/ Mahjong Solitaire is a single-player matching game that uses a set of Mahjong tiles rather than cards. https://en.wikipedia.org/wiki/Mahjong_solitaire Thanks to @Genpatz4 for the suggestion! Music is "Imperial Dynasty" by Derek Fiechter, and "Bamboo Flute" by Tai Gek Tou Title font is "Chinese Dragon". Button font is "Chinese Shanghai". Tile images are from cardgames.io Board layouts are also from cardgames.io Background image adapted from an image found on Vecteezy.com Clone sorting algorithm by @Griffpatch. Carousel by @kriblo. All other code by me. The reason that know there’s always a solution is because of the way the puzzles are generated. A “blank” board is solved randomly, then pairs of tiles are assigned to each matching pair of the solution. If it cannot create a solution because of tiles being stuck underneath, it will try again up to a maximum of 9 times. If a solution still hasn’t been found you get an “unsolvable puzzle” message. Note that it is possible to use the board designer in such a way that selectable tiles are hidden behind large stacks of other tiles. I wouldn’t recommend doing that! #games #mobile #puzzle #strategy #board #description(Mahjong Solitaire is a single-player matching game that uses a set of Mahjong tiles rather than cards.)

Project Details

Project ID927387476
CreatedNovember 20, 2023
Last ModifiedNovember 22, 2023
SharedNovember 20, 2023
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root