06-08-2024, 04:14 AM
BAM Sample Programs
|
07-02-2024, 04:30 AM
07-02-2024, 02:57 PM
07-06-2024, 05:40 PM
(07-06-2024, 03:27 PM)Dav Wrote: Nice little graphic demos! Hey, thanks Dav. I need to update my Sample Programs index with a whole bunch of more recent programs. BTW, the code for each of those programs is displayed below the running program. Aside, the best places to catch up on what's new with BAM (if you are into that for the $hit$ and giggle$):
I find Blogger easiest for writing, and for people who like Reddit, I find it pretty easy/convenient to plop all of my blog post links in there. For folk who like Facebook, I only post sample programs (well, the links to related blog entries) to those.
09-03-2024, 01:18 AM
09-03-2024, 04:04 PM
It worked. I tried it in Firefox. The mouse focus might need tweaking. It always picked the correct piece and correct square to land on, but most of the time I needed to click three or four times in slightly different areas on the pieces or the squares. The same was true for the 'Done' text.
I think I remember this or similar puzzle as a kid. It makes me wish I took probability in high school. From a bruit force A.I. perspective, I wonder how many possibilities would need to be run to evaluate all possible outcomes. Pete +1
Shoot first and shoot people who ask questions, later.
09-03-2024, 04:57 PM
Did you know checkers has a rule that you must jump a piece if the oportunity exists?
I was working on a checkers program and that rule was really hard to "referee". As far as I could discover if you could jump 2 pieces one way or one piece another you weren't forced to go the 2 piece way but you had to jump something.
b = b + ...
09-03-2024, 08:39 PM
(09-03-2024, 04:04 PM)Pete Wrote: It worked. I tried it in Firefox. The mouse focus might need tweaking. It always picked the correct piece and correct square to land on, but most of the time I needed to click three or four times in slightly different areas on the pieces or the squares. The same was true for the 'Done' text. I'm using Chrome and I'm not having any problems with a click position not getting the right square. However, I've noticed that more often than not (but not always), quick click and release seems to quick for the program to register a click happened. If I click, and hold for a sec, and then release, selection of a square happens correctly every time. I'm going to try and improve that. If you notice the same behaviour, let me know. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 2 Guest(s)