r/learnpython • u/JarnePl • Jun 18 '20
Python projects for beginners
Hi! I just learned basic python syntax (watched a 4 hour long python tutorial playlist while also doing it myself), what would be some good beginner projects/ programs that i’d be able to make, and second of all, what can i learn next to become better at python?
449
Upvotes
1
u/OnlySeesLastSentence Jun 18 '20 edited Jun 20 '20
I feel like minesweeper should be relatively easy to program.
Get a location. BombCount=8 If bomb, you dead. If not bomb, for i in range 0,8 if bomb in adjacent[i]: BombCount-=1
Displace BombCount in location. Mark location as visited. If BombCount == 0, then visit each of the adjacent locations and repeat.
Edit: bombs should start at 0 and increase their count. I thought of that backwards.
Project is done now: https://www.reddit.com/r/learnpython/comments/hbbzoa/python_projects_for_beginners/fvevwof