Current Events > ITT: Learning Python

Topic List
Page List: 1 ... 2, 3, 4, 5, 6, 7, 8, 9, 10
Questionmarktarius
09/14/21 10:35:11 PM
#251:


I'm seriously thinking about doing that javascript thing. If the data is structured right, adding graphics should be simplistic when I get around to it.
... Copied to Clipboard!
SomeLikeItHoth
09/15/21 12:32:37 AM
#252:


SpiritSephiroth posted...
Hmm at my level should I continue with learning from tutorials and courses or start on mini projects?
I say focus on starting your own mini projects and you could also do coding exercises.

Questionmarktarius posted...
I'm seriously thinking about doing that javascript thing. If the data is structured right, adding graphics should be simplistic when I get around to it.
Do it fam. I bet you'll learn a lot. Then you could share your code and teach us.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/15/21 8:53:17 PM
#253:


Creating my final encounter in this code and then it will finally be finished. Its against an Oni demon who blocks every turn which reduces damage by 2. He will also have regenerative health for a set random amount.

Based on which route taken earlier which dictates your current level, you can have a hard time or easier time with this encounter.

---
... Copied to Clipboard!
SomeLikeItHoth
09/16/21 4:50:04 AM
#254:


I didn't know what to do tonight so I just watched some random videos about matplotlib.

SpiritSephiroth posted...
Based on which route taken earlier which dictates your current level, you can have a hard time or easier time with this encounter.
That sounds hella fun.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/16/21 8:43:23 PM
#255:


Gonna write a bit more code before bed. Feel dead today.

---
... Copied to Clipboard!
RchHomieQuanChi
09/16/21 8:50:54 PM
#256:


Working on a combat system for a game. It's pretty basic, but functional.

I've got to tweak the numbers though to make it challenging, but fair. Also want to incorporate attack modifiers and defense modifiers based off of class (which will be determined by the reason for why the player ended up in prison).

---
I have nothing else to say
... Copied to Clipboard!
SpiritSephiroth
09/16/21 9:02:01 PM
#257:


RchHomieQuanChi posted...
Working on a combat system for a game. It's pretty basic, but functional.

I've got to tweak the numbers though to make it challenging, but fair. Also want to incorporate attack modifiers and defense modifiers based off of class (which will be determined by the reason for why the player ended up in prison).

Thats interesting. I want to try that soon.

My game is primarily RNG based. It gets harder towards the end and its mostly based off luck.

---
... Copied to Clipboard!
SomeLikeItHoth
09/16/21 9:21:17 PM
#258:


RchHomieQuanChi posted...
I've got to tweak the numbers though to make it challenging
You could create a dice system where the player rolls two dice and gets a solid number and use that number to subtract from the enemies defense. I was thinking of creating something similar to that myself.

Say the player rolls two six-sided dice. The first number they get is a 3 and the second is a 5. Your total number would be 8.

Now say the enemy has a high attack stat (30), but a low defense stat (5). You subtract your dice roll of 8 and the enemies defense stat of 5, so the enemy loses 3 HP.

That would be pretty challenging.

You would also have to take into account other variables, like rolling a low number so the enemy doesn't lose HP, and even a critical hit option if you get double of the same number. And certain characters could have higher dice numbers, like two eight-sided dice.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/17/21 5:02:56 PM
#259:


So I finally finished my code. There is only ONE bug that is annoying the hell out of me, other than that I've fixed up most of it. I'm gonna go over it one last time tomorrow then move on finally.

---
... Copied to Clipboard!
SomeLikeItHoth
09/18/21 6:46:00 AM
#260:


Whats the bug say

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/18/21 5:55:26 PM
#261:


SomeLikeItHoth posted...
Whats the bug say

I would post it but:

Welp, I think one of my monitors is fucked. An expensive 4k Sony TV. Extreme flickering/ghosting issues which started today.

Going to leave it off for a day or two and see if it fixes since I've tried so many other things. If it doesnt work, then its gonna be hard to code with just one screen tbh.

---
... Copied to Clipboard!
SpiritSephiroth
09/19/21 4:28:14 PM
#262:


Yeah my setup is screwed. Going to have to order a new cheap monitor for now or get this shit fixed. Will have to hold off coding now.

---
... Copied to Clipboard!
SomeLikeItHoth
09/20/21 4:29:37 AM
#263:


I need to come up with a new project to work on.

And no shame in programming with just a single monitor.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/20/21 8:36:56 PM
#264:


SomeLikeItHoth posted...
I need to come up with a new project to work on.

And no shame in programming with just a single monitor.

Yeah I did a bit, but seriously its hard to get used to with one monitor. Just all the little things that were convenient with multiple monitors really make a difference. I really gotta buy a cheap one or something.

---
... Copied to Clipboard!
Questionmarktarius
09/20/21 9:33:47 PM
#265:


SpiritSephiroth posted...
but seriously its hard to get used to with one monitor.
I'm still not used to wide monitors.
... Copied to Clipboard!
SomeLikeItHoth
09/21/21 5:41:46 AM
#266:


You might have some luck going inside Target. I always see discounted monitors there.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/21/21 8:22:14 PM
#267:


SomeLikeItHoth posted...
You might have some luck going inside Target. I always see discounted monitors there.

I don't think we have those in the UK. Although I'll be going out tomorrow so I'll see if I can pick up a cheap monitor from a computer shop somewhere. I know of one where I used to frequent when I was young.

---
... Copied to Clipboard!
SomeLikeItHoth
09/22/21 6:00:15 AM
#268:


Didn't realize you lived in the UK. I figured you lived on the east coast in America.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/22/21 2:43:48 PM
#269:


SomeLikeItHoth posted...
Didn't realize you lived in the UK. I figured you lived on the east coast in America.

Im in London. For now at least but I'm hoping to move to Japan pretty soon in the future to work there.

On the upside I managed to snag this:

Acer monitor g276hl, 27"

I got it for 90 which I think its a pretty good deal compared to what I'm seeing online. Pretty happy with the picture too as a secondary screen.

---
... Copied to Clipboard!
SpiritSephiroth
09/22/21 8:18:20 PM
#270:


Bump for tonight. Time to get busy with coding again.

---
... Copied to Clipboard!
SomeLikeItHoth
09/23/21 7:21:36 AM
#271:


Nice. Acer is a good brand. Hope it works out for you.

Ive barely done anything lately. Tired of watching videos and reading tutorials. I need to get more into projects but its tough knowing where to begin sometimes.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/23/21 6:23:31 PM
#272:


SomeLikeItHoth posted...
Nice. Acer is a good brand. Hope it works out for you.

Ive barely done anything lately. Tired of watching videos and reading tutorials. I need to get more into projects but its tough knowing where to begin sometimes.

Same. I feel the itch to just start a new project until I get stuck again, then I'll look it up, research or go through tutorials.

The 4 hour video at the beginning was helpful, and I made over 20 pages of notes. But doing that constantly I know would be counter productive.

---
... Copied to Clipboard!
SomeLikeItHoth
09/24/21 5:13:18 AM
#273:


This game was really fun to play. Definitely worth the effort.

https://inventwithpython.com/pygame/chapter3.html

SpiritSephiroth posted...
Same. I feel the itch to just start a new project until I get stuck again, then I'll look it up, research or go through tutorials.

The 4 hour video at the beginning was helpful, and I made over 20 pages of notes. But doing that constantly I know would be counter productive.
What kind of project? Another RPG?

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/24/21 8:26:08 PM
#274:


SomeLikeItHoth posted...
This game was really fun to play. Definitely worth the effort.

https://inventwithpython.com/pygame/chapter3.html

What kind of project? Another RPG?

Its going to be more practical projects. Im going to find basic real life applications that can be used in Python so I can learn how to make them.

---
... Copied to Clipboard!
SpiritSephiroth
09/25/21 7:11:08 PM
#275:


Bump, gonna start posting code soon once I get some more done.

---
... Copied to Clipboard!
SomeLikeItHoth
09/26/21 5:23:56 AM
#276:


I've been reading Think Python. It's pretty good. Just a refresher so far but it's worth a read if you want the link to download it.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/26/21 9:01:52 PM
#277:


SomeLikeItHoth posted...
I've been reading Think Python. It's pretty good. Just a refresher so far but it's worth a read if you want the link to download it.

Thanks, If you could send it I'd appreciate it.

As for me, today I was extremely unproductive. Played some FFXIV and was planning on studying/drawing/coding later on. But my mind just couldn't focus on them.

Hopefully tomorrow will be different.

---
... Copied to Clipboard!
SomeLikeItHoth
09/27/21 4:14:30 AM
#278:


https://greenteapress.com/thinkpython2/thinkpython2.pdf

It's actually a really good book. I recommend it.

I was thinking it would be cool to create a sort of farming system in Python. I might start that.

---
FAM FOREVER.
... Copied to Clipboard!
GMAK2442
09/27/21 4:18:11 AM
#279:


I think it reserve to God. Such things. You can try.

It's true that you could do something like alt-enter for 'Post New Message'


---
Prosperity and Peace! 777
... Copied to Clipboard!
dj1200
09/27/21 4:25:38 AM
#280:


Tag

---
"It was so ridiculous and I have so many feelings about it."
-Virtual Energies
... Copied to Clipboard!
SpiritSephiroth
09/27/21 7:40:59 PM
#281:


That link is really useful! I've been reading through some of it and it sets out points that are easy and plain to read.

I'm going to set time to read through a lot of it, even though I know most of the first few parts by practical work already.

---
... Copied to Clipboard!
SomeLikeItHoth
09/28/21 4:58:00 AM
#282:


SpiritSephiroth posted...
That link is really useful! I've been reading through some of it and it sets out points that are easy and plain to read.
I'm about 100 pages in and yeah it's pretty good. I keep meaning to finish it but I get distracted.

Anyone got any project ideas I could work on?

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/28/21 8:03:23 PM
#283:


SomeLikeItHoth posted...
I'm about 100 pages in and yeah it's pretty good. I keep meaning to finish it but I get distracted.

Anyone got any project ideas I could work on?

I would guess many more practical projects. Something that can help with real-life applications just to see how basic programs work in everyday systems. Thats basically what I'm aiming for too.

Also im a few pages in and this booklet it pretty good. Im not going to take notes, just want to absorb some of it and apply it.

---
... Copied to Clipboard!
SpiritSephiroth
09/29/21 7:51:59 PM
#284:


Quick bump, most of my time has been on reading material to be honest. I haven't coded much yet.

---
... Copied to Clipboard!
SomeLikeItHoth
09/30/21 7:08:37 AM
#285:


SpiritSephiroth posted...
Quick bump, most of my time has been on reading material to be honest. I haven't coded much yet.
Same.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
09/30/21 8:24:49 PM
#286:


Okay did a bit of code just to get used to Github and Gitkraken. I was messing about with a few things, but I hope I didn't break anything >_>

---
... Copied to Clipboard!
SoggyBottomBoy
09/30/21 8:28:47 PM
#287:


I dont think learnt is a word, but Ive been wrong before.
... Copied to Clipboard!
SomeLikeItHoth
09/30/21 8:29:08 PM
#288:


https://realpython.com/beautiful-soup-web-scraper-python/

This is fun. I've parsed data before but it's a nice refresher. I might try coming up with a project after I finish this.

SpiritSephiroth posted...
I was messing about with a few things, but I hope I didn't break anything >_>
I can't find the topic now, but on Reddit someone posted the other day how he "accidentally" deleted a bunch of folders while messing around with Git. Just be careful!

---
FAM FOREVER.
... Copied to Clipboard!
treewojima
09/30/21 8:30:08 PM
#289:


I'm reading this book, it's pretty solid so far.

https://www.goodreads.com/en/book/show/25587599-haskell-programming-from-first-principles

I've been programming for years and always wanted to scratch that functional itch, but could never quite make the jump from imperative style
... Copied to Clipboard!
SomeLikeItHoth
10/01/21 2:02:44 PM
#290:


https://leanpub.com/b/theindiepythonextravaganza/c/pytober

treewojima posted...
I'm reading this book, it's pretty solid so far.
Are you reading it on your computer or did you buy the book?

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
10/01/21 8:31:24 PM
#291:


treewojima posted...
I'm reading this book, it's pretty solid so far.

https://www.goodreads.com/en/book/show/25587599-haskell-programming-from-first-principles

I've been programming for years and always wanted to scratch that functional itch, but could never quite make the jump from imperative style

After im finished with this reading, I'll check that out too.

---
... Copied to Clipboard!
SpiritSephiroth
10/02/21 7:35:45 PM
#292:


... Copied to Clipboard!
SpiritSephiroth
10/03/21 9:04:36 PM
#293:


I have a few questions regarding translating code into other languages. Is it a fluid transition or are there a lot of changes? Also would I need to unlearn a few things? Just dont want to start too early into delving into other things.

---
... Copied to Clipboard!
1337toothbrush
10/03/21 11:46:37 PM
#294:


Depends on the languages. Some are more similar to others but some are structured quite differently and encourage different patterns.

---
... Copied to Clipboard!
SomeLikeItHoth
10/04/21 5:58:52 AM
#295:


SpiritSephiroth posted...
Bump, Going to do more coding before bed!
Did you make anything?

I did two kinda cool GUIs in Tkinter.

---
FAM FOREVER.
... Copied to Clipboard!
SpiritSephiroth
10/04/21 8:41:39 PM
#296:


SomeLikeItHoth posted...
Did you make anything?

I did two kinda cool GUIs in Tkinter.

So I wrote a few class scripts and uploaded them on Github using Gitkraken. Checked back today and it was all gone??

I'm not sure if I fucked up somewhere or what, but I need to look up more on how to use these programs.

---
... Copied to Clipboard!
1337toothbrush
10/04/21 10:04:11 PM
#297:


Git is decentralized. Are you sure you didn't commit to your local repository without pushing to remote?

---
... Copied to Clipboard!
SpiritSephiroth
10/04/21 10:05:28 PM
#298:


1337toothbrush posted...
Git is decentralized. Are you sure you didn't commit to your local repository without pushing to remote?

Thanks, I'll have to check when I get back to my computer.

---
... Copied to Clipboard!
SpiritSephiroth
10/05/21 7:52:19 PM
#299:


So I actually dont think I saved it at all, both locally or remote. Ugh sucks, Im gonna take a break and start again soon.

---
... Copied to Clipboard!
SomeLikeItHoth
10/06/21 7:39:01 AM
#300:


I didnt have a chance to do anything today.

---
FAM FOREVER.
... Copied to Clipboard!
Topic List
Page List: 1 ... 2, 3, 4, 5, 6, 7, 8, 9, 10