1
submitted 2 years ago* (last edited 2 years ago) by artificialset@hexbear.net to c/bloomer@hexbear.net

I stressed so much the past few days and straight up thought I broke the win condition functions yesterday. Anyway, I pulled it together today and it actually works. It's the first time I thought "I want to make this" and saw it to completion

For reference it's nothing too intense. It's a connect four game using the console, but it checks wins every direction without issue and prints the appropriate player object's name during a win (and ties after the 42nd turn)

I really thought I was a failure yesterday, but I'm proud of myself for pushing through today. So I'm sharing my relief at this going right

The code is a mess, I'm sure, but I'll get back to learning new things for now and revisit this in a few weeks or so

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 26 Feb 2023
1 points (100.0% liked)

bloomer

0 readers
1 users here now

A place for optimism, relentless positivity, anti-doomerism, and snuggle sessions.

We're all in this together, and a better world is possible!

This is now also a space for organizing tips for our collective survival as we confront climate change and everything else. Still no doom-posting. We're here to work together, support each other, and boldly face the future.

Rules:

  1. Familiarize yourself with the site-wide Code of Conduct

  2. No doom, no gloom, only bloom. There's plenty of room for doomerism elsewhere. This community is solely for having a positive outlook on the future and spreading good vibes.

  3. Be kind to your fellow users. This also means no arguing in the comm. Arguments and negativity are not conducive to blooming. Constructive discussion is good. No interest-policing. Support your comrades in their joy!

  4. Always share good news. We can't exactly enforce this one, but if you have good news, please share it with us! Keeping happiness and positivity to yourself is the twelfth type of liberalism.

founded 3 years ago
MODERATORS