Online assistant for playing the fool 36

About the game

Durak Online – play cards with friends!
The new application “Durak Online” from the famous developer R-Soft LLC is a great chance to play a few card games with your loved ones while sitting at home, on a cozy sofa! The game “Fool” appeared in our country in the eighteenth century and very quickly gained popularity among ordinary people and gamblers. This is due to the fact that the game is very easy, and a new participant can learn the simple rules in just a few minutes. In addition, this card game is very exciting and serves as excellent entertainment for people who decide to have fun. The game “Fool” is also striking in its unpredictability. Just one dropped card can completely change the course of the game in favor of one of the participants. You can download the mobile game Durak Online on PC from our website. Below we will tell you how to install it on a Windows system.

The game is (not) for fools. Writing AI for “Fool” (part 1)

  • It is advantageous to have many cards of the same value - not only because you can overwhelm your opponent with them, but also to easily repel an attack (especially if the cards are of high value). For example, at the end of the game, a hand (for simplicity, let’s assume that hereafter the trump cards are diamonds)
    $$display$$\clubsuit 2 \spadesuit 2 \diamondsuit Q \heartsuit Q \clubsuit Q \spadesuit Q$$display$$ is almost perfect (of course, if your opponent doesn’t come under you with kings or aces): you will fight back with queens, after which hang your opponent's shoulder straps and hand him a couple of deuces.

    but on the contrary, it is unprofitable to have many cards of the same (of course, non-trump) suit - they will “interfere” with each other. For example, a hand

    $$display$$\spadesuit 5 \spadesuit J \spadesuit A \diamondsuit 6 \diamondsuit 9 \diamondsuit K$$display$$ is very unsuccessful - even if your opponent does not “knock out” the trump card from you with the first move and goes with a card of the spades suit, then all other cards thrown will be of different suits, and trumps will have to be given to them. In addition, with a high probability, the five of spades will remain unclaimed - all your trump cards have a value higher than five, so under no circumstances (unless, of course, you initially entered with a lower card) will you be able to cover some other card with it - the probability of taking is very high. On the other hand, let's replace the jack of spades with a ten of clubs, and the trump six with a three:

    $$display$$\spadesuit 5 \clubsuit 10 \spadesuit A \diamondsuit 3 \diamondsuit 9 \diamondsuit K$$display$$ Despite the fact that we replaced the cards with lower ones, this hand is much better - firstly, the club suit won't have to give up a trump (and you'll be more likely to use the ace of spades), and secondly, if you beat some card with your three of trump, there is a chance that someone will throw you a three of spades (because it doesn't make much sense As a rule, it’s not a good idea to hold such a card), and you’ll end up with a five.

    To implement these strategies, we modify our algorithm: Here we count the number of cards of each suit and value...

    /* bonus coefficients depending on the number of cards of the same value - for example, if there is no card of a certain value or there is only one, bonuses are not awarded, and for all 4 cards the coefficient is 1.25 */ val bonuses = doubleArrayOf(0.0, 0.0 , 0.5, 0.75, 1.25) var res = 0 val countsByRank = IntArray(13) val countsBySuit = IntArray(4) for (c in hand) { val r = c.rank val s = c.suit res += ((relativeCardValue (r.value)) * RANK_MULTIPLIER).toInt() if (s === trumpSuit) res += 13 * RANK_MULTIPLIER countsByRank[r.value - 1]++ countsBySuit[s.value]++ }

    ...here we add bonuses for them (the Math.max call is needed in order not to assign negative bonuses for low cards - because in this case it is also profitable)...

    for (i in 1..13) { res += (Math.max(relativeCardValue(i), 1.0) * bonuses[countsByRank]).toInt() }

    ... and here, on the contrary, we penalize a hand that is unbalanced by suit (the value of UNBALANCED_HAND_PENALTY is experimentally set to 200):

    // count the average number of cards of non-trump suits... var avgSuit = 0.0 for (c in hand) { if (c.suit !== trumpSuit) avgSuit++ } avgSuit /= 3.0 for (s in Suit.values()) { if (s !== trumpSuit) { // and subtract penalties depending on the deviation from this average for each suit val dev = Math.abs((countsBySuit[s.value] - avgSuit) / avgSuit) res -= (UNBALANCED_HAND_PENALTY * dev). toInt() } }

    Finally, let's take into account such a banal thing as the number of cards in your hand. In fact, at the beginning of the game, having 12 good cards is very good (especially since they will still be able to throw no more than 6), but at the end of the game, when besides you there is only an opponent with 2 cards, this is not at all the case.

    // count the number of cards remaining in the game (in the deck and in the players' hands) var cardsInPlay = cardsRemaining for (p in playerHands) cardsInPlay += p cardsInPlay -= hand.size // calculate what share of them the player has and determine the amount of the penalty (here MANY_CARDS_PENALTY = 600) val cardRatio = if (cardsInPlay != 0) (hand.size / cardsInPlay).toDouble() else 10.0 res += ((0.25 - cardRatio) * MANY_CARDS_PENALTY).toInt() return res

    To summarize, the full evaluation function looks like this:

    private fun handValue(hand: ArrayList, trumpSuit: Suit, cardsRemaining: Int, playerHands: Array): Int { if (cardsRemaining == 0 && hand.size == 0) { return OUT_OF_PLAY } val bonuses = doubleArrayOf(0.0, 0.0, 0.5, 0.75, 1.25) // for cards of same rank var res = 0 val countsByRank = IntArray(13) val countsBySuit = IntArray(4) for (c in hand) { val r = c.rank val s = c.suit res += ((relativeCardValue(r.value)) * RANK_MULTIPLIER).toInt() if (s === trumpSuit) res += 13 * RANK_MULTIPLIER countsByRank[r.value - 1]++ countsBySuit[s.value]+ + } for (i in 1..13) { res += (Math.max(relativeCardValue(i), 1.0) * bonuses[countsByRank]).toInt() } var avgSuit = 0.0 for (c in hand) { if (c.suit !== trumpSuit) avgSuit++ } avgSuit /= 3.0 for (s in Suit.values()) { if (s !== trumpSuit) { val dev = Math.abs((countsBySuit[s.value] — avgSuit) / avgSuit) res -= (UNBALANCED_HAND_PENALTY * dev).toInt() } } var cardsInPlay = cardsRemaining for (p in playerHands) cardsInPlay += p cardsInPlay -= hand.size val cardRatio = if (cardsInPlay != 0) ( hand.size / cardsInPlay).toDouble() else 10.0 res += ((0.25 - cardRatio) * MANY_CARDS_PENALTY).toInt() return res }

    So, we have the evaluation function ready. In the next part we plan to describe a more interesting task - making decisions based on such an assessment.

    Thank you all for your attention!

    PS This code is part of an application developed by the author in his free time. It is available on GitHub (binary releases for Desktop and Android, for the latter the application is also available on F-Droid).

  • What is special about the game?

    Recently, the game experienced a rebirth and appeared in the form of an application for mobile gadgets and PCs. Now anyone can download the game Durak Online to a computer or phone and play several games via the Internet with their friends or strangers located anywhere in the world.

    The “Fool Online” application was released by the famous development studio R-Soft LLC, which creates online versions of famous card and other gambling games. Such applications have a simple interface and are designed for playing games via the Internet with close or randomly selected players from all over the world. They are optimized for mobile devices, very convenient, highly functional and designed in a minimalist style; there are simply no unnecessary elements here. Such programs include an electronic version of card Poker, as well as the popular game Lotto in Russia.

    In Durak Online, the user can choose one of the options: join a game created by another gamer or create a new party on their own, and then invite their friends to join it or wait for random participants to join. You can organize a private party, protected by a password in order to prevent unauthorized users from joining. A minimum of two and a maximum of 6 people can participate in such lobbies. Download the game Durak Online on PC with your friends and play with them.

    The application allows you to configure the required number of cards in the deck. By default there are 24 pieces, but you can choose a medium and large deck of 36 and 54 cards. This means that the game will end faster the fewer cards there are in the deck. And if you reduce the time allotted to the player to think, the game will end almost instantly.

    The main advantage of creating your own game is the ability to personalize the game according to your personal preferences. So, you can choose the transfer or flip mode, and also change a few more settings, which are recommended to be used only by experienced and skilled players. They will not bring any benefit to beginners.

    Once you have decided on the parameters, you can create a game. All that remains is to invite friends and family or wait a little until a random user joins the party. The game has a chat, so you can make friends with unfamiliar opponents, chat, find similar interests and play some great games. Moreover, for all this the participant does not even need to get up from his favorite sofa.

    Thanks to the developers, all the user's attention is focused on the cards, which occupy the main part of the playing space. The names of opponents and chat messages are also shown on the screen, but they are much smaller in size and do not distract the participant. This allows the player to concentrate on the game, think through his moves better and try to achieve the maximum result in each game situation.

    Advantages of the game

    It is worth noting the advantages of the game:

    • A minimalistic interface that allows the participant not to be distracted from the gameplay and focus on his cards and the time allotted for making a move;
    • Communication. The game allows you to find new friends, communicate with them and constantly learn interesting information;
    • The application perfectly implements a list of contacts and chats, allowing you to enjoy not only the exciting gameplay, but also exciting communication on the device screen;
    • Animation in the game "Fool Online" also plays a big role. The appearance of cards on the field, transitions between players or decks, pop-up notifications about invitations to friends and adding new users to the contact list are very beautifully executed.

    All this makes the game attractive and does not allow you to complete the last game and be distracted by something else.

    The game "Fool Online" is controlled using the mouse. You will need a keyboard if you plan to chat.

    Assistant in the game fool online

    The Fool's Assistant is a desktop necessity for the gambler. When playing "fool", you mark the cards: games, players (up to 3) and lights out. Having calculated everything well and made the right move at the end of the game, it will be very easy to beat your opponent. Choice of decks, backs, design, buttons and players, menu styles, deck thickness (plus 4 cards from 16 to 52), trump highlighting, card and game counting, help, hotkeys, 6 bonus programs, custom name, saving settings, " Easter eggs", trey, etc.

    Fool's Assistant Download >>> secure download free SOFT

    Play in full screen

    Play against a real person

    When will you make it for iPhone or Android?)) it’s very necessary)

    I know that the modern world is waiting for this. But for a similar assistant on Android, you need to thoroughly study a completely different programming environment, and for this you need to find time. This cannot be done in one day, but in the future it MUST!

    The program was made in the Multimedia Builder environment. Some antivirus programs make a false alarm, suspecting the compiled file to be related to some kind of virus, due to the similarity of several numbers of the internal code. Then it is recommended to add the pd.exe program file to the antivirus exceptions - and feel free to use a safe and useful assistant! There are no viruses there! By the way, there will be a new version with working links soon, maybe even by this evening.

    After each start, the antivirus adds one file to quarantine, but the program is fine

    We checked on virustotal.com - it seems that no antivirus has detected anything bad yet. What antivirus do you have?

    Similar games

    • The Fool's Assistant is a desktop necessity for the gambler. When playing "fool", you mark the cards: games, players (up to 3) and lights out. Having calculated everything well and made the right move at the end of the game, it will be...

    • Durak Online. Mobile application developers are constantly changing the legendary card game beyond recognition - changing the style and design of cards, adding new rules, modes and features,...
    • Durak Online. Mobile application developers are constantly changing the legendary card game beyond recognition - changing the style and design of cards, adding new rules, modes and features,...
    • Attention! The advertisement is shown for only 15 seconds. If your internet connection is slow, the download may take several minutes. If the game DOESN'T WORK at all, click HERE! and we will try...

    • Durak Online. Mobile application developers are constantly changing the legendary card game beyond recognition - changing the style and design of cards, adding new rules, modes and features,...

    System requirements

    Minimum RequirementsRecommended Requirements
    OSWindows XP, 7, 8, Vista | 32- and 64-bit Windows 10 (32- and 64-bit)
    Processor, frequencyIntel or AMD, with virtualization enabled in BIOS, with a frequency of 1.8 GHz or moreIntel or AMD, with virtualization enabled in BIOS, with a frequency of 2.2 GHz or more
    RAMfrom 2 GBfrom 6 GB
    Hard drive spacefrom 4 GBfrom 4 GB
    HDDHDDSSD (or hybrid)
    Video cardwith support for DirectX 9.0c, current driverswith support for DirectX 12, current drivers
    Administrator rights++
    Netbroadband internet accessbroadband internet access

    Gameplay: what makes the game attractive?

    The application was developed for mobile devices running Android by R-Soft LLC and is available for download in the Google Play store. Thanks to a special emulator, the user can download the game Durak Online to a computer with Windows installed.

    The developer of the game was the well-known company R-Soft LLC, which became famous for creating electronic versions of many card and other gambling games. Such programs have a simplified interface and can be launched online to compete with loved ones or randomly selected strangers. During development, the company focused on an optimized and convenient gaming experience for participants. The creators have made a lot of effort to ensure that the functionality in these programs is well combined with a simple design, made in the spirit of minimalism, without any unnecessary additional details.

    In addition to Durak Online, the company has created modern versions of such popular games as Lotto and Poker.

    By opening the application, the user has the opportunity to participate in already created parties. If you wish, you can start the game yourself and invite your friends and acquaintances or random outside gamers from anywhere in your home country to compete.

    Another feature available is to create a private party that is password protected. This is necessary to ensure that only invited users take part, the minimum number of which can be two, and the maximum number can be 6 people. Strangers will not be able to enter such a game.

    Creating your own party is interesting because a large number of individual settings are available to the player. So, first you can choose the number of cards in the deck. The minimum number is 24 pieces; larger decks contain 36 and 54 cards, respectively. If necessary, you can speed up the game by minimizing the time allotted to the participant to think and make a move.

    After the user has decided on the initial parameters, he can choose the type of game - transfer fool or flip.

    More experienced and skilled players have access to additional settings, but a beginner should not bother with them.

    Now that all the necessary parameters have been set, you need to select participants. You can invite your friends or wait for one of the random players to join the game. IN

    The application has a chat, so during the game you can have fun talking with your opponent on various topics.

    Thanks to the developers' plans, most of the playing field is occupied by the participant's cards, and messages from chats and names of opponents are less noticeable and do not distract from the process. This allows the user to concentrate all his attention on the game, which means he can combine better and make more successful moves to win the competition.

    Advantages of the game

    It is worth noting:

    • Interface designed in a minimalist style. The participant is not distracted from the game, but pays attention to the cards, the remaining time until the end of the turn and possible clues;
    • Communication. “Durak Online” allows people to meet people, communicate, and discover something new. The application has a wonderfully designed chat system, which allows you to enjoy not only an exciting game, but also the accompanying conversation;
    • Animation. The developers paid a lot of attention to the distribution of cards and their transitions between participants, new notifications and adding friends to the contact list, as well as other dynamic actions. This makes the game more beautiful and entertaining.

    How to run Durak Online on a computer

    In order to install and play Durak Online on a PC or laptop, the user will need to adapt applications for the Android environment to work in Windows OS. Below we will look at the Bluestacks emulator.

    Installation of this program takes a little time, after completion the emulator starts automatically.

    In the window that opens, the user will see the entrance to the Play Market. You must enter your Google account login and password and visit the store.

    Here you need to click on the search bar, enter the name of interest “Durak Online” and click on the button with a magnifying glass icon. The system will search among many programs and offer the player the desired result.

    All that remains is to start the game installation process by clicking on the appropriate button.


    Game controls

    The application interface is designed for a user who has no previous experience with mobile games. Everything is as accessible and understandable as possible. The application is localized into Russian, so there will be no special problems with navigation. At the start, you can choose one of the open games in order to join another company, invite friends to the table, or create a party with your own rules, and then wait until the free seats are taken.

    From the main menu, the user can view the achievements table, switch settings, or chat with friends. In addition, the game's functionality includes a news feed with internal achievements of users from the player's contact list. All control in the application is carried out via the touchscreen. If you decide to download Durak Online on a PC, then you can carry out all manipulations using a computer mouse.

    Gameplay: what's interesting in the game?

    This card game spread to Russia in the mid-eighteenth century. And since then it has become so popular that not only adults, but also children play it. After all, the rules are quite simple. So even those who have never picked up cards will immediately understand them. As a rule, such a game does not take much time, but it allows you to activate your mental processes by calculating moves.

    In fact, this is both entertainment and mental training. After all, if you make one wrong move, you can immediately lose. However, much depends not only on your intelligence. As with any card game, a lot depends on luck. Hence the excitement that the players will experience. And if you want to find out how lucky you are today, then download Durak Online on your PC.

    However, the developers have prepared another surprise: not long ago a series of games was released that allows you to take part in card battles using the network. In this case, your rivals may become not only your friends, but also random gamers who have downloaded a similar application. Therefore, it is enough to enter the game to find new friends and discuss new opportunities with them. And this is an additional plus for the application described here.

    The developer of the application was the R-Soft LLC studio, which is known to many for its gambling and card games. Moreover, all of its games are characterized by a simple interface and the fact that they can be launched over the network to play with casual gamers. Thus, the company relied on convenience and optimization. As a result, it has convenient functionality, simple gameplay and minimalist design so that nothing distracts from the game. In addition to “The Fool,” the studio also offers other card games.

    But now we’ll talk about “Fool”, especially since there are many who want to play “Fool Online” on the computer.

    So, any user, even if he has entered the game for the first time, can choose the option that is convenient for himself. Here you can join an existing game, create a game for your friends, or simply choose your opponents. If you create a private game, it is password protected, so you only need to send this password to those you decide to invite to the card table. Moreover, there can be from two to six players at the table. You also set the quantity yourself.

    The dynamism of the game is also adjusted here. For example, you can choose decks with different numbers of cards. Available options: 24, 36 or 54 cards. Please note that the smaller the deck, the faster the game will go. Another possibility: reducing the time it takes for gamers to move. As a rule, such games go by quickly. We must pay tribute to the developers: they have provided other features that will allow you to adapt a simple game to your desires.

    For some, the number of settings is, of course, intimidating. But those who spent a little time and figured out all this functionality note their necessity. After all, thanks to them, the game process becomes more interesting.

    Here you can also select a game option. There is a throw-in fool or a transfer fool mode. Gradually, new parameters will open to you that can be adjusted. However, to do this you need to reach a certain level, gain experience and skill.

    Once you have set the settings, you can either invite your friends or wait for random gamers to start a game. The game has a chat where you can chat with your opponents. And who knows, maybe one of them will become your permanent partner in such card games.

    The main field of the game is occupied by the gamer's cards. The developers specifically focused on them. And although the nicknames of opponents in the chat are also highlighted, they are not conspicuous or distracting. Hence the increased concentration on the progress of the game.

    It is worth noting:

    • interface designed in a minimalist style, thanks to which the emphasis is on the game and not on other unimportant details,
    • the presence of hints that will allow you to choose the best option for a move,
    • the ability to communicate via chat, thus making acquaintances,
    • Although the animation elements are not the main part of the game, they are impressive: smooth transitions, instant notifications about new additions to friends - all this was appreciated by gamers.
    Rating
    ( 2 ratings, average 5 out of 5 )
    Did you like the article? Share with friends:
    For any suggestions regarding the site: [email protected]
    Для любых предложений по сайту: [email protected]