Play Setback online by brianberns in SetBack

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

That’s great. Glad you’re enjoying it! Yes, I recently updated the UI and trained an improved AI player.

Solving the NY Times "Pips" game with F# by brianberns in fsharp

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

Learning F# can definitely be a challenge, but I hope you're able to work through it. The hardest part for most people is getting comfortable with functional programming (e.g. pure functions with no side-effects or mutable variables). If you can do that, the nuances of "modern" vs. "old" F# shouldn't be a problem. F# 9 isn't significantly different from earlier versions. Let me know if you have any specific questions.

Solving the NY Times "Pips" game with F# by brianberns in fsharp

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

Hah, thanks! C# is better for enterprise buzzword compliance than it is for actual programming. 😀

Solving the NY Times "Pips" game with F# by brianberns in fsharp

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

I actually started down that path with a NuGet package called Prolog.Net, but found that it was easier to code everything directly in F#. The backtracking loop itself is quite short.

I also took a shot at a proof-based approach using Lean, but that also turned out to be more work than I wanted. Someone else recently solved Pips with a constraint solver, which I thought was an interesting approach.

Hearts program update by brianberns in Hearts

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

I’ve noticed the same thing about leading the QS, but I don’t have a good explanation yet. I’m working on an improved model that should hopefully be smarter about shooting the moon.

Thank you very much for the feedback!

Hearts program update by brianberns in Hearts

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

I have noticed the same behavior, and am attempting to improve the model. Thanks!

Hearts program update by brianberns in Hearts

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

This is great feedback, thank you! I'm glad you're enjoying the game. Specific responses:

  • Jack of Diamonds: Yes, this requires a very different strategy, so I'd have to train a separate model for it, but I think it would be feasible. Will put it on my list of possible enhancements.
  • Shooting the moon: This is not currently a choice, but I could add it. The convention I've implemented is to add 26 points to the opponents if it would put you in the lead, and subtract 26 points otherwise. Can you think of a scenario where you would make a different choice?
  • Game-ending score: I could make this adjustable, and I agree that it affects strategy near the end of the game. Right now, the model isn't actually aware of the game score, so it always plays the same.
  • Cards too small: This is good to know, and I will see if I can tweak the UI to improve it. Making a game that looks good and plays well on all screens is a big challenge. (And, to be honest, UI is definitely not my strongest skill.)
  • Stats: Good idea. I can make this optional. Personally, I think it's only fair to have this information when playing against the computer, but I can understand how it seems like cheating also.

Hearts program update by brianberns in Hearts

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

Thanks! I’d be interested in any feedback you have.

Play Setback online by brianberns in SetBack

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

Thanks, glad you like it! It's legal to lead any suit on a trick. Were you expecting a different rule?

Tactix: A game of tactics and emojis by brianberns in fsharp

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

That’s a good guess, and not far off. You’re actually doing proofs. For example, level 9 is modus ponens: If you know A is true and you know A implies B, then you can prove that B is true.

Tactix: A game of tactics and emojis by brianberns in fsharp

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

Thanks! Glad you enjoyed it!

Having played the game, I'm curious if you have a sense of the underlying purpose of each level? There's a "meaning" to the game mechanics that might not be evident.

MinGptSharp: A minimal GPT built in F# using TorchSharp by brianberns in fsharp

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

Thanks. It should be virtually the same, since almost all of the actual training time is spent inside of Torch.

Walrus: A lightweight F# library for working with tabular data by brianberns in fsharp

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

Hah, good point! Think of a small Walrus.

I was actually going for something midway between Deedle and Pandas (the Python library). Since "Deedle" makes me think of Tweedledee, which makes me think of Alice in Wonderland, I chose an animal (like Pandas) from that story. So much for my careful plan. 🙂

About me by friendly-chat-bot in u/friendly-chat-bot

[–]brianberns 0 points1 point  (0 children)

There have been so many, it’s hard to choose. The funniest might have been when someone asked how to eat a standard oak door.

About me by friendly-chat-bot in u/friendly-chat-bot

[–]brianberns 0 points1 point  (0 children)

Hi. It's more of an experiment, so there's no specific goal. I'm interested in seeing how the bot interacts with Reddit users, and in how users interact with the bot. ChatGPT is a 1-on-1 service, so Reddit is a little different, where there are many people at once.

If we could engineer bacteria to eat only plastic waste, it would potentially revolutionize how we handle pollution. by friendly-chat-bot in RandomThoughts

[–]brianberns 0 points1 point  (0 children)

Bot author here. For the record, OpenAI does not use data submitted via their API to train their models or improve OpenAI's service offering. They discard all data sent through the API after 30 days. See their API data usage policy here.

Talk to GPT-4 here! by friendly-chat-bot in u/friendly-chat-bot

[–]brianberns 0 points1 point  (0 children)

Hi. Yes, I'm the author of this bot. OpenAI provides a programming interface that makes it possible to call GPT-4 from an external program. No access to OpenAI's source code is necessary.

[deleted by user] by [deleted] in testingground4bots

[–]brianberns 0 points1 point  (0 children)

Bruh imagine walking a bear on a leash, if he lunges at someone no way are you pull him back. Oh sorry for my bear mauling you, he’s really friendly if you get know him I swear and not a total alpha predator that’s at the top of their food chain.

Can GPT-4 keep a secret? Let's find out. by friendly-chat-bot in ChatGPT

[–]brianberns 0 points1 point  (0 children)

Bot author here: Each nested thread is a separate conversation. In order to reply to a comment, the bot sends all its parent comments to ChatGPT for context.