r/learnpython • u/External-Cap-4877 • 18h ago
final project in cs
Hello guys, im first year cs student and they teach us python as the first programming language
i dont have any experience what so ever in programming.
we are in the 5th lecture in uni and i have learned the basic stuff like if and elif and while and for looping. The professor assigned us with a final project basically we are 4 and supposed to code a program like more than 300 lines i dont know what can python do and i dont know how am i supposed to build a python project with the knowledge i have
so my question is how do i continue my python learning without the lectures, i have heard about a github project called 30 days of python by asabneh idk if its the right fit
and what are some projects idc how complicated they are i just wanna get that A+ i asked chat gpt abd it told some stuff about movie recommender and football analysis and idk tbh i think everyone in my uni will use chat gpt and they will most likely all do the same project i want to be unqiue and also functional
thanks
2
u/ConnectAffect2346 17h ago
Well you can make something unique using only those basics, they are fundamentals to any program you want to make, but to make some more complex programs that might give a detailed solution to something, if you didn't learn yet try to learn dictionaries, sets and tuples and how to use numpy, pandas and matplotlib packages you can learn them in detail using w3schools and youtube tutorials but you need to code while going through explanations and examples after you learn them (it shouldn't take you more than 2 weeks) you can make simple football match analysis where you can make menu function with simple listing, table view, graph view and adding of football teams, you then make more functions that edit the data and of course you make a dictionary thst will act as the main storage unit of the teams, after you make all thst you just create a main function that calls all the functions iterates everything in a logical loop that can be exited using exit functionality which is based on sys.exit() function which stops the entire program from working and for it to work you need to import sys, while some things might be confusing to you for now this is all a suggestion and you can choose another subject and not just the football teams, thats the greatest part of programming, you choose what you want to create and how you want to create, hope this helps 🙂
2
u/External-Cap-4877 16h ago
Okay thank you very much
2
u/ConnectAffect2346 14h ago
No problem, i hope it helps, if you need anything else you can contact me again either here or through dms(im not sure how chatting works on reddit yet😅)
2
u/Naive_Programmer_232 16h ago edited 15h ago
concurrent chat server: challenging but not super unique
maybe have a look at tcp sockets and build a multi-threaded concurrent chat server. it could be about anything, you could have the server solve math problems the clients provide for example, implement some logging as well, sustaining multiple client connections at once, exiting by keyword, etc. you can do it in python, but it'd be a good learning moment as it'll require knowledge of OSI / networking / protocols more. i'd go tcp instead of udp for simplicity. this will be a challenge for sure though from the basics you have.
Turing Test inspired 'Among Us'-like multi-level concurrent chat game: more challenging/unique
on that note as well, here's a weird/unique-ish idea, what if you did similar but used agentic ai to randomly join the server as the 'imposter', but it mimics the interactions between actual clients in the chat; sort of forming an Among Us type game, where the users try to figure out who is the imposter(s). maybe start with one agent, set up maybe a backend ai to evaluate user's (actual clients) accusations against the bots versus other users, to see if they can correctly spot the imposters. maybe add some game logic, like it takes more than 2 user's for example to solidify an accusation or something against the same imposter and for it to 'register' per the game. idk i'm just spit balling here, this is a vague idea and would need more work to develop and design so it can be made.
but if you got it working with one agent imposter, then you could level it up to 3 agent imposters, let's say, and then make it into a game where different chats are tiered by difficulty (e.g. 'easy' - 1 imposter, 'medium' - 2 imposters, 'hard' - 3 imposters) as well as group capacity size (e.g. 'easy' <= 10 users, 'medium' <= 20 users, 'hard' <= 30 users), and additional rules like you have to catch all imposters. the result would be a multi-level collection of concurrent game-chat-servers that act as a mock-Among Us type game lmfao. i think it'd be pretty unique and a good complex project, probably more than 300 loc, definitely a step up though from the previous challenge i mentioned. even if you didn't do this for this class, still would be a cool side project possibly imo.
an example here in behavior with prompt engineering is telling the agent to avoid perfect grammar / elaborate sentences or 'scientific correctness' / no em-dashes / etc. so the imposter text looks like the users' texts, mimics the patterns closely, and blends in to make the game harder. you could even have different prompts for different difficulty levels (e.g. 'easy' - imposter is somewhat obvious, 'medium' - imposter has subtle hints, 'hard' - imposter replicates almost exactly the users' behavior).
this would be a good computer science fundamentals showcase as well since this is a fun way to explore the concept of the Turing Test essentially. maybe instead of calling it a mock-Among Us loop in a Turing pun to associate it closer with that; such as The Turing Point as play-on of "Turning Point", usually a point someone reaches where they realize something big then they change, to suggest a double-entendre of Turing's point about the Turing Test as well as suggestive of at some point in the game, that test will be actualized (such as in 'hard' mode) where it really does try to perform the Turing Test and challenges the users psychologically.
you could even explain all that Turing stuff to your professor, class if you present the project, and try to win your team more brownie points. ;)
good luck and have fun!
2
2
u/JorgiEagle 18h ago
Go to hackerrank.com, and do the python problems on there. Simple problems that help you solidify your understanding.
It’s how I learned python
1
2
u/Financial_Farm4326 17h ago
yeah grinding out those small logic problems is really the only way the syntax starts to stick
1
2
u/BotSlamminDayNNight 9h ago
skip the movie recommender. build a small text game with a twist that only you would think of, since while and for are all you need and 300 lines arrives fast once you add scoring and levels. 30 days of python works fine as a daily warmup alongside it.
2
u/EszterSantos72 7h ago
30 Days of Python by Asabeneh is honestly a good fit because it covers all the basics up to things like file handling and functions in about 300 pages, which matches your current level and project needs. If you finish the first 15 days, you'll have enough to build something unique without copying everyone else.
2
u/Available_Safe1818 6h ago
> so my question is how do i continue my python learning without the lectures, i have heard about a github project called 30 days of python by asabneh idk if its the right fit
You might as well if you're spazzing out so hard you can't write the programs that you need to write.
2
u/rake66 18h ago
Is that the only requirement the professor gave? 300 lines?