Game logic development
Write the game logic and test it.
Game about opening boxes. There are 25 boxes, one contains a prize with a game currency, and the rest contain game stickers (multipliers) or nothing.
The player places a bet. The game randomly selects 1 safe out of 25, and the player has the opportunity to choose 3 safes. When the safes are selected, the player clicks open.
If the player guessed the designated safe, they receive a prize of х0.1*bet, х0.25*bet, 0.5*bet, х0.75*bet, х1*bet, х2*bet, х5*bet, х10*bet, х20.
The player also receives stickers when collecting a series of stickers of the same denomination, the winnings are multiplied (if the player has also opened a safe with a prize in this game) or the bet is multiplied.
Coefficients when the player opens a safe with a prize and collects a combination of stickers.
With some probability, the designated case with coins will be highlighted for the player.
It is necessary to develop a game model where the player's balance depends on a linear function Balance(number of games). B(q) = 1.6 * q + 200
The game model is built around a linear function so that the player cannot win too much or lose too much.
It is necessary to create a mathematical model of the game in which the player's balance follows the given formula. Different stickers will be issued, but not collected, for example, 20 green stickers х100, and no red sticker to close the series and issue a prize. As initially specified, a х100 prize cannot be awarded.
The probability of wins is set specifically for the coefficients, i.e., there is a probability of winning х7.5; if it appears as a big win for the player, the game is adjusted so that at some turn the player guesses the box with х0.75, and on the same turn closes the series with х10.
The box with the win is generated before the game, and the finding of stickers and the win in this box occurs after the game.
Create the possibility to test the model over a large number of games, depending on the formula and the probabilities of coefficients. Display minimum, average, and maximum values: balance, winnings, series closures, and data for each sticker, data for each win.
Model the graph B(q) of the player, from a single game and the average over many games.
Applications 1
Client's review of cooperation with freelancer
Game logic developmentAll is well, Ihor was always in touch and promptly made all the corrections. Thank you for your cooperation.
-
2 days29 USD
163 2 days29 USDGood day, I have reviewed the technical specifications and am ready to perform the work)
Open to cooperation, please contact me!
-
2 days232 USD
3008 73 4 2 2 days232 USDGood day! I can implement this logic in Python!!!!! Contact me!!!!!!
-
5 days29 USD
250 5 days29 USDI have reviewed your technical assignment and am ready to undertake the development of the game mathematical model, implementation of the logic, and conducting simulations. I am currently studying at university, have worked on laboratory projects involving mathematical modeling, and understand well how to build a controlled game model. I have experience in Python, know how to work with statistics, charts, and mathematical constraints.
If it is convenient for you — we can briefly discuss the implementation details before starting work, to ensure everything is clear and efficient.
Current freelance projects in the category Python
Telegram bot for hiring/searching employees. For job searching.
25 USD
1. General Concept Creation of a Telegram bot for automating recruitment and mutual job searching. The system operates on the principle of active response and mutual confirmation of interest (Double Opt-In). The system includes two roles: Employer (Company Owner) and Worker (Job… Python, Bot Development ∙ 11 hours 1 minute back ∙ 62 proposals |
Technical support for web platform (Python/Django)There is a working web project that needs to be maintained and gradually organized, without rewriting from scratch. Project stack: Backend: Python, Django, Django Rest Framework Frontend: Next.js Database: PostgreSQL Infrastructure: AWS (EC2), Nginx There are integrations… Python, Web Programming ∙ 13 hours 10 minutes back ∙ 50 proposals |
Development of a web service with paid access to an online chatGood day, it is necessary to develop a web service that includes: * personal links for users; * a page with a description of the service; * payment through PayPal; * online real-time chat; * video display on the user page; * accounting for paid time and automatic access… Python, Web Programming ∙ 1 day 14 hours back ∙ 69 proposals |
Application developmentI wish to create a mobile application for communication, the app should have audio and video calls, group chat creation, the ability to sync with phone contacts, account settings: email binding, 2FA, phone number, the ability to customize app notifications, change the app… Java, Python ∙ 2 days 12 hours back ∙ 36 proposals |
Setting up two-way integration of WhatsApp with Odoo CRMHello! We are looking for a specialist to implement a technical task for setting up a two-way integration of the WhatsApp messenger with the Odoo CRM system. ⚠️ Important technical clarification: The official WhatsApp Business API (WABA) is not considered. It is necessary to… Python, Web Programming ∙ 2 days 22 hours back ∙ 23 proposals |