QB64 Phoenix Edition
BAM Sample Programs - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: QBJS, BAM, and Other BASICs (https://qb64phoenix.com/forum/forumdisplay.php?fid=50)
+--- Thread: BAM Sample Programs (/showthread.php?tid=1992)

Pages: 1 2 3 4


RE: BAM Sample Programs - CharlieJV - 06-08-2024

"Vampire Einstein"

Details: https://basicanywheremachine-news.blogspot.com/2024/06/vampire-einstein.html

   


RE: BAM Sample Programs - CharlieJV - 07-02-2024

Windmill style circle

Details: https://basicanywheremachine-news.blogspot.com/2024/07/windmill-style-circle.html

   


RE: BAM Sample Programs - bplus - 07-02-2024

nice effect @CharlieJV


RE: BAM Sample Programs - CharlieJV - 07-02-2024

(07-02-2024, 02:08 PM)bplus Wrote: nice effect @CharlieJV

That little proggie was a strangely extra-fun one to figure out.


RE: BAM Sample Programs - Dav - 07-06-2024

Nice little graphic demos!  

-Dav


RE: BAM Sample Programs - CharlieJV - 07-06-2024

(07-06-2024, 03:27 PM)Dav Wrote: Nice little graphic demos!  

-Dav

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.


RE: BAM Sample Programs - CharlieJV - 09-03-2024

David Ahl's "One Check", BAMified:

https://basicanywheremachine-news.blogspot.com/2024/09/david-ahls-one-check-bamified.html


RE: BAM Sample Programs - Pete - 09-03-2024

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


RE: BAM Sample Programs - bplus - 09-03-2024

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.


RE: BAM Sample Programs - CharlieJV - 09-03-2024

(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 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

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.