Python Programs!

Chatterbox: Chirp at Cricket

Python Programs!

Python Programs!

I'm sorry, Aquamarine, but we're not going to post coding because we Admins don't have time to check it out.

Admin

submitted by Aquamarine, age XI, In the Clouds
(January 25, 2019 - 1:55 pm)

I. Love. Python!

We started doing it in my tech class at school, and I got really into it and spent half my winter break coding. So now I'm way ahead of everyone else and coding an adventure game about an archer traveling through the forest and encountering dragons and such.

Even if we can't post code, perhaps this can become a Python discussion thread? 

submitted by Kitten
(January 25, 2019 - 8:38 pm)
submitted by KittenOfTheTops
(January 25, 2019 - 11:36 pm)

Yeah you’re much better at Python than me. All I do is love it and try to make quizzes that aren’t quizzes and pickName programs that aren’t pickNames!

submitted by Aquamarine, age XI, In the Clouds
(January 26, 2019 - 9:18 am)

I also have a lot of experience with coding: I learned JavaScript on Kahn Academy, then LEGO Mindstorms for robotics, then Scratch for school, and now Python. So that helps me with all of my coding. 

And making an adventure game isn't all that difficult. It's pretty much a bunch of print() and if, elif, else statements. Although I do use a lot of defining functions, one for each location.

And don't despair if you feel unskilled! If you keep loving it you can get really good!

If you're looking for math-y-code-y things to work on, look up Project Euler. My technology teacher introduced it to me, and I found it really cool until I was tired of math and decided to code the adventure game instead. 

What is pickName?

submitted by Kitten
(January 26, 2019 - 12:58 pm)

It's cool. You could search "Awesome python programs." It's fun and it's a tkinter program that once you press a button, you're given a random name! (Well, sorta random, you have to put the names in).  I edited the program a little (only the words in green tho, not an advanced programmer), so that the pickName program is like an AI talking!

submitted by Aquamarine, age XI, In the Clouds
(January 26, 2019 - 3:17 pm)

Oh yah I like making adventure games but they're formatted like quizzes...

Thx for saying that! I mean, guess I am getting a little better... not rly though xD 

submitted by Aquamarine, age XI, In the Clouds
(January 26, 2019 - 3:21 pm)

You can make your adventure game more complicated than just a quiz by adding in random factors (like there's a fifty percent chance you're attacked by bandits) and buying things and keeping track of them in a list. My game has a whole bunch of shops at the beginning, and you have to buy food and weapons and such.

How is your Python structured? I'm not entirely sure how to ask this question, so... um... how do you access Python? We use Jupyter Notebook, which is apparently installed on our school computers but it opens in a web browser? Im bad at explaining things today. 

submitted by Kitten
(January 26, 2019 - 8:21 pm)

My Python is called IDLE if that helps haha

submitted by Aquamarine, age XI, In the Clouds
(January 29, 2019 - 11:33 am)