+ 1

Can I create this thing in python?

I want to create such a program that does the following things. There is a game we call "Word Game" and what you have to do is, the first person says a word e.g: APPLE. Now APPLE ends with the word E. So, the next person has to say a word that starts with the letter E. And let's say the next person says EGG. Now this time it ends with G and so the next person will say a word with G as it's first letter. And this way the loop continues untill the person can't say any word within the given time. Now I want to create a program that will keep track of all the words that we say or manually type in a text file and the next time when we enter the same word it will warn that it already exists. Because when we play this game for a long time we get confused if we said this word earlier or not. So, if this kind of thing is possible please let me and if you are kind enough please guide me through how I can do this. I just started using Python and I am really excided if I can come up with something like this.🙂🙂🙂

26th Jan 2020, 3:21 PM
Zodiac ZNaim
Zodiac ZNaim - avatar
9 Respuestas
+ 2
I used Python myself for everyday stuff like that. Made myself a calory tracking thingy, a learning aid, a ten-finger-typing thingy... stuff like that. Or whenever I have to get some statistics about a text I'm working at, how often this or that occurs, or I need to replace something... stuff like that is really simple and convenient. Actually Python's a bit of an all-purpose pocket knife. 😂
26th Jan 2020, 3:45 PM
HonFu
HonFu - avatar
+ 2
boy... make a challenge from that. given a text as input write a programm that creates the chain. procedure: write the challenge on ur timeline and link it to the coding challenge post.
28th Jan 2020, 1:23 PM
Oma Falk
Oma Falk - avatar
+ 1
What you want to do is really relatively simple, you don't even need to finish half the tutorial for it. You'll be able to do this within a week if you're not afraid and try!
26th Jan 2020, 3:34 PM
HonFu
HonFu - avatar
+ 1
HonFu It is said that programmers of today are magicians of the future and I guess Python is like a book of magic spells😂😂
28th Jan 2020, 9:59 PM
Ali Abdelhady
Ali Abdelhady - avatar
0
Zodiac ZNaim, you have chosen the best language. For this sort of little assistance work it's just perfect. :) You can definitely do it. Just create a list and append each word, as you say, to it. You can insert a simple test before: if that_input_string in that_list: blablabla Actually that's a fantastic practice project for a beginner. I don't want to take that away from you. Read the tutorial here and with everything you read, ask yourself: How can I use this for my game? This will make the learning process very personal and you will learn better. Just try to write the program, see if you get it right!
26th Jan 2020, 3:28 PM
HonFu
HonFu - avatar
0
HonFu Thanks mate but I am still on the first bit of the training course of this language and I have no idea of how to do this. But the thought just crossed my mind and I thought if this was possible or not so that I could put my time into making something like this. Hope I can create it within a month or so.😉
26th Jan 2020, 3:31 PM
Zodiac ZNaim
Zodiac ZNaim - avatar
0
HonFu Sure man. I will give my best because I believe this will help a lot cause we play this game pretty much everyday and it gets reall confusing.😅😅
26th Jan 2020, 3:41 PM
Zodiac ZNaim
Zodiac ZNaim - avatar
0
Oma Falk I dont know how to create a challenge. But I am already working on this project and thats why I needed that help with how to loop the input as I am going to use that as the player names. This is way too complex for me as Im a beginner thats why I want to work with someone experienced. I already DM ed you so if you want we can talk there.🙂🙂
28th Jan 2020, 1:27 PM
Zodiac ZNaim
Zodiac ZNaim - avatar
0
Zodiac ZNaim great idea! Keep up Looking forward to seeing your project
28th Jan 2020, 10:00 PM
Ali Abdelhady
Ali Abdelhady - avatar