garimasingh128 / awesome-python-projects

📱 ✅ Some awesome projects in python! 📱 ✅

Home Page:http://garimasingh.me/awesome-python-projects/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word Games

opened this issue · comments

Describe your project clearly.

  1. Fibanocci Increment Mixed String
    Increment mixed string is an operation which operates on two strings S1 and S2 of same length to generate a new string S3. The letters in odd position of S3 is one more than the corressponding letter in S1 and the letters in even position of S3 is one more than the corressponding letter in S2. For example, if S1 = ‘amey’ and S2 = ‘dhft’ then S3 = ‘bifu’. For letter ‘z’, letter ‘a’ is one more than it.

Fibanocci increment mixed string is operation which operates on the last two strings in the series. Given two strings, S1 and S2 write a code to generate the nth element using Fibanocci increment mixed string operation. The given strings S1 and S2 are the first two elements in the Fibanocci increment mixed string series. Third element in the series is found by applying increment mixed string operation for first two elements.

Letter partner game
In a fun game, every letter in English alphabet has a partner. The first thirteen letters of the English alphabet are called pre-partners and the next thirteen letters are called post-partners. That is ‘a’ is the pre-partner and the corressponding post-partner is ‘n’, ‘b’ is the pre-partner and the corressponding post partner is ‘o’ ....‘m’ is the pre-partner and ‘z’ is the post-partner.

In this game, players will be asked to take a lot with a string ‘w’ and they are said to won the game if the following conditions are satisfied by the letters in ‘w’:

(i) The string may be mixed with pre-partners and post-partners but all pre-partners should have a post-partner

(ii) A pre-partner should come before it’s corressponding post-partner

(iii) For a pre-partner that is in position ‘i’ it’s post-partner

(a) Shall come immediately at posititon ‘i+1’

                        Or

(b) Should come before all corressponding post-partners of pre-partners that is in positions < i and after all corressponding post-partners of pre-partners that is in position > i.

And the player has lost the game otherwise.

For example, if the word in the lot taken is ‘abon’ then the player has won the game. All pre-partners come before the post-partner and condition (iii) is also satisfied as follows:

Describe the solution you'd like
please assign me in these projects

@garimasingh128

I would prefer option b. Sorry for the late reply. Assigning you!