Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [basic-lang]

BASIC (an acronym for Beginner's All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages whose design philosophy emphasizes ease of use.

2
votes
0answers
15 views

RC4 in Sinclair BASIC; Working around one-indexed arrays

This is a program written in Sinclair BASIC (48 BASIC) for the Sinclair ZX Spectrum. It uses a hardcoded key (null right now) as seen in the bottom and outputs a stream of integers generated with RC4. ...
2
votes
0answers
26 views

Finding the numerically listed string to the center algorthim

The algorithm takes input for a string's length for L, and the number of strings altogether for X. The hamming distance is for input D. Input Z calculates the exact amount of all possible characters ...
0
votes
0answers
17 views

Script that uses strings of text for introspective analysis

PDR is an acronym for Personality Defect Removal. This script was written in BASIC v1.1. I use strings to save details of the psychological analysis of one's defects to improve their personality. MIS=...
2
votes
0answers
27 views

The Lost Forest: The Beginning (text based choose your own adventure)

I'm currently making a text based choose your own adventure game with possible RPG elements. I'm somewhat new at programming. My father is very good ad QB64, but isn't always able to help me with my ...
5
votes
1answer
115 views

Monty Hall in BBC BASIC and Python

How would I be able to improve the speed of this Monty Hall program? Interestingly, the same code written using BBC BASIC for Windows completes the task in half the time of the Python code. Python: ...
22
votes
2answers
273 views

Commodore-FizzBuzz

I felt nostalgic recently, and decided to install a Commodore-64 emulator. C-64 BASIC 2.0 is the first language I ever programmed in... some 20 years ago (yes, C-64 was already well beyond deprecated ...
18
votes
2answers
566 views

FizzBuzz in Commodore Basic

...
1
vote
1answer
126 views

Calculating kills and deaths in a game

I'm trying to make a program that calculates your k/d ratio (kill/death, which is used in FPS games to make people believe that it's skill), how many kills you need without dying once to reach a ...
4
votes
0answers
205 views

Collision system in Pong-like game

I am writing a game like Pong. Therefore I am using an entity system approach, so I use a Component-based design. The hardest part until now was to write the collision system. As I just began with ...