Finished my quarantine project - board games application (Chess, Checkers, etc)

Posted Jul 14, 2020, 2:19 PM UTC

15127
baconialis•

You should post the source code

7
CodeImplementationOP•

I'm just polishing it up at the moment and then it'll be on https://github.com/TheCodeImplementation

7
[deleted]•

[deleted]

1
Ethanno7•

RemindME! tomorrow

0
RemindMeBot•

There is a 6 hour delay fetching comments.

I will be messaging you in 1 day on 2020-07-15 18:18:55 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

^(Parent commenter can ) ^(delete this message to hide from others.)


^(Info)^(Custom)^(Your Reminders)^(Feedback)
0
isnullorempty16•

RemindME! tomorrow

0
RemindMeBot•

There is a 3 hour delay fetching comments.

I will be messaging you in 1 day on 2020-07-16 16:41:15 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

^(Parent commenter can ) ^(delete this message to hide from others.)


^(Info)^(Custom)^(Your Reminders)^(Feedback)
0
[deleted]•

[deleted]

3
CodeImplementationOP•

Thanks, iTechSun.

0
xyphanite•

He's got 99 bugs, but his tech ain't one.

2
polothedawg•

Nice clean ui, full features, looking forward to trying it out ! (And checking out the sweet source code of course)

3
CodeImplementationOP•

Thanks, polothedawg. Source code should be up soon.

1
DannyB2•

If it was a Quarantine project, I think you mean: Bored Games

Fun project. I remember building a minimax with alpha beta pruning, in Java, many years ago, to play TicTacToe, Connect-4, Reversi and Checkers. I remember learning the technique studying Common Lisp.

Your video looks cool.

Something different that I did (for fun) in 2010 was a solver for a puzzle known as either "Unblock Me" or "Traffic Jam" or "Rush Hour". In Java. A-star search algorithm.

3
CodeImplementationOP•

Hey, "Bored Games". Very punny.

If you mean "Unblock That", that's such a coincidence. Check out this video I did a couple of months ago: https://youtu.be/WPfc-2G5CqU

Glad you enjoyed the video, Danny.

2
DannyB2•

That IS the game I'm talking about. And the A-star! I never took mine past a command line program. No GUI. But the solver is the hard part. I've often thought about building a GUI on top of it.

I have also daydreamed of using computer vision to recognize a board from a camera shot and provide a solution.

Another thought is: once you have the model working and can search, you can also work backwards to generate puzzles instead of solving them.

2
CodeImplementationOP•

I wanted to do a GUI for mine's as well but, for reasons I can't remember now, concluded I wouldn't be able to do what I wanted to using JavaFX, so I just stuck with the CLI.

That's a good idea about generating puzzles. It never even crossed my mind to do that, but I kinda want to give it a try.

2
DannyB2•

Java FX wasn't a thing when I wrote my unblock puzzle solver. And definitely not when I did my minimax-alpha-beta games. So I used Swing for that. But I did not try to tackle chess. I'm glad you did.

Try to generate unblock puzzles and score puzzle difficulty by length of solution path, and possibly other factors. Another approach is to generate random boards, apply your solver and see if there is a solution (or multiple solutions).

2
javaw_exe•

Nice app! Did you use JavaFX for the UI?

3
CodeImplementationOP•

Thanks, javaw_exe. Yeah, JavaFX.

2
fayevalentinee•

Awesome congrats!

2
CodeImplementationOP•

Thanks, fayevalentinee.

1
SpeedDart1•

That’s cool I’m working on a similar project rn, but it’s only Chess ;)

Seeing this really inspired me helped me want to finish.

2
CodeImplementationOP•

Thanks, SpeedDart1. That's great to hear. Are you working in Java/JavaFX as well?

1
SpeedDart1•

I am

2
PinkBunnyHat•

This looks great!! Would love to read the source code! 🙌🏽

2
hjames9•

What UI framework? OpenJFX?

2
CodeImplementationOP•

JavaFX

2
[deleted]•

[deleted]

2
CodeImplementationOP•

Oh, yeah. That's true. I don't know why I had it in my mind there was a distinction. JavaFX-15 from GluonHQ to be precise.

1
orex111•

Looks great! Waiting for the source code

2