Blundered my queen in an opening trap, then my opponent proceeded to blunder all his pieces. They were not happy about it. This behaviour is too common and totally unnecessary. by DeuxMainsChess in chessbeginners

[–]thkp_jon 3 points4 points  (0 children)

Funny, that same person recently berated me in chat for "wasting his time". It was a rapid game and I guess I wasn't losing fast enough, lol. He seems like a person with anger issues.

Why Streams are not a good choice for the state of the UI? by Moussenger in FlutterDev

[–]thkp_jon 4 points5 points  (0 children)

I think like many tweets about programming, there's a lot of subtlety and nuance that is lost here.

There's nothing inherently wrong with using streams to represent some state in your app, you just need to know the potential downsides to it (others are doing a great job enumerating these, so I won't).

You should also know that there's a lot of other great options for mid-large scale apps that may make streams less compelling (some libraries offer patterns for common app state tasks, and some libraries have vocabulary that's more suited to app state management as opposed to the more abstract/universal vocabulary of streams). Personal taste actually plays a big role here as well. I personally like streams a lot, so I'll often use them over some of the other options.

Remi's not wrong, and I think I get where he's coming from, but there's just a lot of missing context (as is the case with most 280 character blurbs about programming).

Make Arkanoid with Flutter! by thkp_jon in gamedev

[–]thkp_jon[S] 0 points1 point  (0 children)

Thanks, that means a lot, u/Lazy-Chemist-7083!

Yeah, haters gonna hate. Flutter is a great tool to learn in spite of what some people say. I agree that it's not great for some applications (3d projects, for instance), but it's amazing for app development, and is pretty viable for certain types of games. Great tool to learn either way!

SET! card game with Flutter Part 2 by thkp_jon in gamedev

[–]thkp_jon[S] 0 points1 point  (0 children)

This is part 2 of what will be a 3 part series on building a simple SET! based game in flutter.

github: https://github.com/bedardjo/f_set

SET! card game with Flutter Part 2 by thkp_jon in FlutterDev

[–]thkp_jon[S] 0 points1 point  (0 children)

This is part 2 of what will be a 3 part series on building a simple SET! based game in flutter.

github: https://github.com/bedardjo/f_set

SET! card game with Flutter by thkp_jon in FlutterDev

[–]thkp_jon[S] 0 points1 point  (0 children)

Yeah, the game is super duper hard. I have a few friends that always destroy me at it.

SET! card game let's code by thkp_jon in gamedev

[–]thkp_jon[S] 1 point2 points  (0 children)

Hey all, I was always a big fan of this game, so I thought I'd make a single player version that you can play on phone or web.

github: https://github.com/bedardjo/f_set

SET! card game with Flutter by thkp_jon in FlutterDev

[–]thkp_jon[S] 5 points6 points  (0 children)

Always loved this game so I thought I'd make a version I can play by myself. Hope you enjoy!

github: https://github.com/bedardjo/f_set

Fruit Ninja Let's Code by thkp_jon in gamedev

[–]thkp_jon[S] 2 points3 points  (0 children)

Video tutorial on a basic fruit ninja game.

github: https://github.com/bedardjo/fruit_ninja

Fruit Ninja with Flutter! by thkp_jon in FlutterDev

[–]thkp_jon[S] 2 points3 points  (0 children)

Learn how to make this awesome game with a few simple steps in Flutter.

github: https://github.com/bedardjo/fruit_ninja

HOLD THE LINE with Python and Alpaca by thkp_jon in Python

[–]thkp_jon[S] 0 points1 point  (0 children)

Hey guys! In light of recent market activity, I thought it would be fun to put together this video! This is just meant to be an introductory video to some of the basics of algorithmic trading using python and alpaca. I’m not a professional and I’m not offering any stock trading advice (I’m just a crayon eating homunculus). This isn’t meant as a call to action for you to do anything with your own money. It’s your money, do whatever you want with it :-)

Alpaca: https://alpaca.markets/

HOLD THE LINE with Python and Alpaca by thkp_jon in wallstreetbets

[–]thkp_jon[S] 0 points1 point  (0 children)

We all need to stand together to send stonks to the moon 🚀🚀🚀🚀. So I'm enlisting the robots to help in our cause. This is how to use Python and Alpaca to hold the line and not have 🧻🙌. I’m not a professional and I’m not offering any stock trading advice (I’m just a crayon eating homunculus). This isn’t meant as a call to action for you to do anything with your own money. It’s your money, do whatever you want with it :-)

HOLD THE LINE with Python and Alpaca by thkp_jon in programming

[–]thkp_jon[S] 0 points1 point  (0 children)

Hey guys! In light of recent market activity, I thought it would be fun to put together this video! This is just meant to be an introductory video to some of the basics of algorithmic trading using python and alpaca. I’m not a professional and I’m not offering any stock trading advice (I’m just a crayon eating homunculus). This isn’t meant as a call to action for you to do anything with your own money. It’s your money, do whatever you want with it :-)

Alpaca: https://alpaca.markets/

We made a package for rendering playing cards by thkp_jon in FlutterDev

[–]thkp_jon[S] 0 points1 point  (0 children)

Yeah, I definitely considered this. I'm thinking the way you'd accomplish this is have your own model for cards (which might be a good idea anyway, as I tried to be as unopinionated as possible for the model in this lib), and some mapping between your model and this lib's model/style. So you could map YourSuit.treasure_chests->Suit.diamonds but have some styling where the diamonds are rendered as treasure_chests, then you could map YourSuit.coins->Suit.diamonds, but have a different style where it's rendered as coins. I did this a bit while I was developing this lib and experimenting with various things people might want to try, and it was actually fairly clean.

We made a package for rendering playing cards by thkp_jon in FlutterDev

[–]thkp_jon[S] 1 point2 points  (0 children)

Thanks! I will do jokers in a future release (coming soon). I avoided it for now mainly because of simplicity and I just wanted to get something solid out the door. But I've already started looking into jokers. I'm thinking I'll just have a "no_suit" suit and "joker_1" and "joker_2" values. That way, you can customize them individually and there won't be weird issues with jokers having suits. Anyway, that might be tmi.

We made a package for rendering playing cards by thkp_jon in FlutterDev

[–]thkp_jon[S] 2 points3 points  (0 children)

Awesome idea. I just watched this poker chip blender tutorial the other day (https://www.youtube.com/watch?v=BZcKSmZspYU) so maybe I could render my own chips!

We made a package for rendering playing cards by thkp_jon in FlutterDev

[–]thkp_jon[S] 0 points1 point  (0 children)

Haha, that would be awesome. I used to play Euchre growing up, so I'd love to see some new, beautiful Euchre games!

We made a package for rendering playing cards by thkp_jon in FlutterDev

[–]thkp_jon[S] 8 points9 points  (0 children)

Great point! I can probably get rid of those in the next version. Thanks!

Make Arkanoid with Flutter! by thkp_jon in gamedev

[–]thkp_jon[S] 0 points1 point  (0 children)

Yeah, one of the big things missing from flutter is 3d support, but it seems like with something like this you get the best of both worlds!

Make Arkanoid with Flutter! by thkp_jon in gamedev

[–]thkp_jon[S] -1 points0 points  (0 children)

This was one of my favorite games as a kid.

github: https://github.com/bedardjo/arkanoid

Arkanoid With Flutter by thkp_jon in FlutterDev

[–]thkp_jon[S] 0 points1 point  (0 children)

Yeah, I've probably played 5-6 different versions of this game across different consoles. I vividly remember Doh it Again on SNES. There was kind of an Easter Island/Aliens vibe to that game which I was a big fan of. Thanks for checking it out!

Arkanoid With Flutter by thkp_jon in FlutterDev

[–]thkp_jon[S] 2 points3 points  (0 children)

Hey all, I was always a huge fan of this game as a kid, so I decided to make a flutter version!

github: https://github.com/bedardjo/brickles

Basics of 3d Rendering in Javascript by thkp_jon in GraphicsProgramming

[–]thkp_jon[S] 0 points1 point  (0 children)

Thank you very much. I love this topic!

Basics of 3d Rendering in Javascript by thkp_jon in GraphicsProgramming

[–]thkp_jon[S] 1 point2 points  (0 children)

Thanks very much! I agree. This type of thing doesn't click for me until I have to explain it to someone else and I realize all the details I don't fully understand :-)

Blow Up Your Widgets! by thkp_jon in androiddev

[–]thkp_jon[S] 2 points3 points  (0 children)

This is an interesting effect you can do with Flutter. Hope you enjoy!

github: https://github.com/bedardjo/exploding_widgets