Mode:
Duration:
1
2
3
4
5
6
Local steps:Int = 10
Local pos:Int = 0
For Local i:Int = 1 To steps
If Rand(0,1) < 0.5 Then pos :- 1 Else pos :+ 1
Print pos
NextCoding works best on desktop or with an external keyboard.
Local steps:Int = 10
Local pos:Int = 0
For Local i:Int = 1 To steps
If Rand(0,1) < 0.5 Then pos :- 1 Else pos :+ 1
Print pos
NextCoding works best on desktop or with an external keyboard.
Simulates a 1D random walk.
Local steps:Int = 10
Local pos:Int = 0
For Local i:Int = 1 To steps
If Rand(0,1) < 0.5 Then pos :- 1 Else pos :+ 1
Print pos
NextBlitzMax is a high-level, procedural programming language designed for game development and multimedia applications. It provides a simple syntax, cross-platform capabilities, and built-in support for graphics, sound, and input handling.
Origin & Creator
Created by Mark Sibly in 2001.
Industrial Note
BlitzMax is mainly used for indie game development, hobbyist projects, and small cross-platform multimedia applications, especially in the early 2000s indie scene.