Monday, October 7, 2024

🖥 Oriental Paintbrush Sim

This is a port and mod of a QBJS program ("Calligraphy Pro 128 Studio:  Oriental paintbrush mode") by Vince.

Click/touch the canvas, and paint away !

This link will open Vince's program for viewing and running (in your browser) with the hosted version of QBJS.

The BAM port and mod:





Saturday, October 5, 2024

🖥 Stereogramish Thingy

This is a port by Charlie Veniot of ZXDunny's SpecBAS stereogram program (the second version) shared with the "BASIC Programming Language" Facebook group (link to that post.)

Note that I have not implemented the first version of ZXDunny's program, which has filled circles.  BAM's circle-filling routine does not work well with overlapping circles.  Hence, I only ported the version of the program with unfilled circles:

(BTW: I called this "Stereogramish" because, due to visual impairment, I have no idea if this is working or not! )



Wednesday, October 2, 2024

🖥Dunny Demo Mod

This is a port and mod of a SpecBAS graphics demo program by ZXDunny.

You'll find ZXDunny's original program in comments at the bottom of my source code listing.

As per my usual, I've modified the program to animate it, using random colours and random looping parameters.

Once an image is rendered, the program waits 2.5 seconds before clearing the screen and rendering another image.  The program runs in an infinite loop.

Click/touch the screen to pause the program until you release the click/touch.

Enjoy the show !








Friday, September 13, 2024

🖥A "10PRINT" Variant, BAMified

This program by Charlie Veniot is a port and mod of Ian Witham's C64 program found in this YouTube video.

New colours are randomly project upon every program restart (either refresh the web page or click/touch the program's output window).

Monday, September 2, 2024

🖥 David Ahl's "One Check", BAMified

This program re-published with the development version of BASIC Anywhere Machine in order to test forthcoming changes to BAM.
48 CHECKERS ARE PLACED ON THE 2 OUTSIDE SPACES OF A
STANDARD 64-SQUARE CHECKERBOARD.  THE OBJECT IS TO
REMOVE AS MANY CHECKERS AS POSSIBLE BY DIAGONAL JUMPS
(AS IN STANDARD CHECKERS).
SELECT A CHECKER TO MOVE BY CLICKING/TOUCHING IT.
THEN SELECT THE DESTINATION TILE THE CHECKER WILL LAND ON
AFTER JUMPING OVER ANOTHER CHECKER.
WHEN YOU HAVE NO POSSIBLE JUMPS REMAINING,
CLICK/TOUCH 'DONE'

One of the top goals for BAM includes giving old-school BASIC classics a new lease on life: make them easy to run (in web browsers, offline as well as online) and easy to share (on the web, as an email attachment, on a USB thumbdrive, whatever).  (In the case of this program, keep the "smarts" of the original code, but enhance the program so that it can be used on touch devices via a retro-looking graphics interface.)

So no special requirements and no dependencies:
  • no software/apps other than a web browser
    • so device and operating system agnostic
  • a BASIC program and everything it needs to run in a web browser, they are all in one HTML file
One Check is a program by David Ahl from his book: "Basic Computer Games Microcomputer Edition" 
(which you can find here at the Internet Archive.) 

This BASIC Anywhere Machine port, significantly modded, is based on another version of David Ahl's program found here.

The mods include:
  • Code significanly reorganized to use GOSUB subroutines instead of GOTO
  • Modified to use mouse/touch to choose checker pieces and move destinations
  • Modified to use character-based graphics and colour
  • (NOTE: Any remaining line numbers are breadcrumps to the original source code)


🖥 Oriental Paintbrush Sim

This is a port and mod of a QBJS program ("Calligraphy Pro 128 Studio:  Oriental paintbrush mode") by Vince. Click/touch the canva...