flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > Hobby BASIC, a simple yet powerful BASIC interpreter

Goto page Previous  1, 2, 3, 4, 5, 6, 7
Author
Thread Post new topic Reply to topic
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 25 Apr 2026, 00:34
► New Game in Version 2.5.6 -- Ελληνικά

Gobble Rush! is a faithful Hobby BASIC port of a PuzzleScript game, featuring ANSI graphics for the Windows 11 console.

Your goal in this puzzle is to guide your character to the exit, while avoiding or trapping the yellow crab-like creatures.
The creatures become alert as soon as they spot you and keep charging until they crash into a wall — or into you!
Remember: the enemies always get the final move.

It's a simple yet surprisingly entertaining puzzle that demands strategic thinking.

The game also features:

Holes: Only enemies can cross over them
Chickens: Enemies prioritize chasing them — use them as bait
Lettuces: Enemies will devour them if they get in the way

Features:
• Tile‑based ANSI graphics with 16‑color palette
• Turn‑based movement on a 9x9 grid
• Optimized drawing (only changed tiles)
• Enemy AI with line‑of‑sight detection
• Alert state system: enemies charge until blocked
• Smart simultaneous enemy movement
• Chickens and lettuces as distractions / lures
• Holes that remain intact under moving entities
• Multi‑step undo system (30‑move history)
• Persistent progress: solved levels are saved

All of this runs directly inside the Windows 11 CMD.EXE console.

Image Image Image



[updated 1/5/2026]

Fixed bug with ++ (post-increment) and += (addition assignment) operators on TYPE members

Due to oversight, a logical jump was missing in the assembly code, causing certain games (such as Pacman) to crash.
The operation of these operators on TYPE members has now been fully restored.

Example
Code:
type T
    x=0
    y=0
endt 10

for i = 0 to 9
    T:[i].x ++
    T:[i].x += i * 10
    debug(T:[i].x)
next
    
The code now runs without errors.



▶ New game in Version 2.5.7 -- Ελληνικά

Sticky Candy is a faithful port to Hobby BASIC of a PuzzleScript game, featuring ANSI graphics designed for the Windows 11 console.

Your goal: Move the candies to the collection areas.
Caution! Don't let different candies stick together!

A sweet, simple, but... tricky puzzle!

Features:
• Tile-based graphics with ANSI/16-color palette
• Smooth redraw (only changed tiles are updated)
• Candy sticking mechanics (adjacent candies merge into sticky groups)
• Push any candy: single or entire connected sticky group
• Color‑matching targets: YTG, RTG, BTG
• Victory when every sticky candy sits on its matching target
• Full undo system with unlimited stack (uses dynamic arrays)
• Save game progress (solved levels are remembered)
• Sound effects for sticky conversion and level win
• Wall edge highlighting (3D visual effect)

All of this runs directly inside the Windows 11 CMD.EXE console.

Image Image Image



[updated 13/5/2026]

► New Game in Version 2.5.8 -- Ελληνικά

A simple yet deceptively challenging puzzle.
In Magnetic, your goal is to bring together blocks of the same colour and form one unified group for each colour.
Inspired by Magnetic Blocks by Andrea Gilbert, featuring 13 redesigned levels with a gradually increasing difficulty curve.

Features:
• Tile-based graphics with 16-color palette
• Smooth redraw (only changed tiles are updated)
• Magnetic grouping (mergeable colors) and non‑merge spheres (individual blocks)
• Tilt mechanics: all bodies move simultaneously step by step (left/right/up/down)
• Step‑by‑step animation with adjustable speed (WAIT DELAY)
• Victory condition: each color forms exactly one connected cluster
• Full undo system with unlimited stack (dynamic arrays)
• Save game progress (solved levels are remembered)
• Wall edge highlighting (3D visual effect)

All of this runs directly inside the Windows 11 CMD.EXE console.

Image Image



Hobby BASIC – Internal improvements at the heart of the console.

This new release 2.5.8 introduces no new features, but focuses on fixing and optimizing important parts of the core.
Most changes affect console routines, memory management, and the overall responsiveness of the system.

Console Core
Several internal routines were cleaned up and optimized, with fewer redundant checks,
better register utilization, and safer memory access.

Memory Management
Resource cleanup was improved in several parts of the core, eliminating rare leaks and edge-case memory faults.

The code now spans thousands of lines of assembly, and every optimization takes time, testing, and patience.
Step by step, piece by piece. The fact that a BASIC runs reliably inside CMD.EXE on Windows 7, 10, and 11 is already a small victory.
We keep moving forward.


Useful links:
Online Guide — learn Hobby BASIC the easy way
Full Feature Overview — all capabilities in one page
YouTube Video Tour — see it in action
Chrome blocking? — fix here
Download — the latest version

_________________
Hobby BASIC Interpreter
Post 25 Apr 2026, 00:34
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5, 6, 7

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.