← All journal articles

Learn by playing: mahjong

Mahjong game

Mahjong is an ancient Chinese game that combines elements of strategy, skill and luck. Its history dates back several centuries, and during this time the game has spread throughout the world, taking on various forms and rules.

Game history

The origins of mahjong go back centuries, and the exact date of its origin remains unknown. According to one legend, the game was created about 500 years ago by the Chinese philosopher Confucius. However, historians are inclined to believe that mahjong appeared in the middle of the 19th century in Zhejiang Province. Initially, the game was popular among aristocracy and wealthy merchants, but soon gained popularity among the common people.

At the beginning of the 20th century, mahjong began to spread outside China. Joseph Babcock brought it to the United States in the 1920s. He also adapted the rules of mahjong to Western audiences. Since then, the game has continued to develop and gain new fans around the world.

The meaning of the game

Originally, mahjong is a four-player board game that uses a set of 144 tiles. The goal of the game is to be the first to make a winning combination of 14 tiles. Players take turns taking tiles from a common stack or dropping unnecessary ones onto the table.

The game has three suits: bamboo, circles, or symbols. In addition, there are special dragon tiles and winds. Players must make combinations of three identical tiles (pong) or sequences of three tiles of the same suit (chow).

The game requires strategic thinking and the ability to predict the opponent's moves. Participants should closely monitor the dropped tiles and plan their actions several moves ahead.

The popularity of mahjong

Today, mahjong is known in many countries around the world and has many variations. In China, it remains a traditional game, often associated with family gatherings and celebrations. In Japan, mahjong has acquired the status of a sports discipline with professional tournaments.

Mahjong online

A traditional Chinese game has become the basis for a variety of computer applications. The digital version of mahjong has gained popularity among players around the world. Unlike the traditional version, which is played by four, the computer versions are often single games.

Features of the mahjong computer game

#1 Matching puzzle

In most computer versions of mahjong, players are asked to dismantle a pyramid of tiles, finding and removing pairs of identical ones. The goal of the game is to completely clear the playing field.

#2 Variety of designs

The computer versions offer many different layouts and tile designs, making the game fun. Some options include themed tile sets and backgrounds.

#3 Convenience and accessibility

You can play mahjong on your computer anytime, anywhere. This doesn't require a set of tiles or partners to play.

#4 Skills development

Computer mahjong helps develop logical thinking, attention to detail and concentration. It can also be a great way to relax and get away from everyday worries.

#5 Additional features

Many PC versions offer hints, cancellations, and timers, allowing players to vary the difficulty of the game.

How to create a mahjong game: tips for young developers

Creating a mahjong game on a computer can be a fun project that will allow you to develop programming and design skills. Here are some tips for developers to help with this process:

No.1. Learn the basics of the game

Before you start developing, make sure you understand the rules and mechanics of mahjong. Explore different versions of the game to choose the one you want to implement.

#2. Choose a platform and tools

Decide on the platform on which your game will run. Find the right development tools.

#3. Design the game

Create a concept for the visual style of play. Design the tiles, the playing field, and the user interface. Make sure that the graphics are in line with the mahjong theme and are attractive to players.

#4. Game logic programming

Write code to control the game, from generating tile layouts to verifying that the player's moves are correct. Pay attention to the algorithms for finding pairs and the conditions for winning.

#5. Add features

Implement additional features like hints, cancelling moves, and timers. This will make the game more accessible and interesting for players of different levels.

#6. Testing and debugging

Test the game thoroughly for bugs. Make sure all elements work correctly and the game provides users with a positive experience.

#7. feedback

Ask your friends to help you test: one head is good, but two are better! This will help identify weaknesses and improve the game before release.

#8. Publication and promotion

After development is complete, choose a platform for publishing your game and develop a promotion strategy to attract an audience.

Creating a computer version of mahjong is a great opportunity to be creative and give players the pleasure of a classic board game in a new format.

Your child loves to play, and would you like him to spend his time at the computer usefully? Quickly write it down to free trial lesson at Progkids! We know more and more about game development!

You can also read

Courses for kids

Progkids обратная связь

It's easy to sign up for a free class

Already in the first lesson, we'll dive into the basics of development and create a small project that your child will want to brag about.

Submit a request

ok image
Ваша заявка отправлена. Скоро мы свяжемся с Вами
Ошибка при отправке формы