Tetris/Julia: Difference between revisions

m
Line 99:
therefore global variables have to be declared and used
For simplicity Int variables are used; in 64-bit OS versions: 8 Bytes.
In most places Int8 (or In16Int16, Int32) would work. When changing:
take special care as: Int8(1)+1 -> Int64, Int8(1)+0x1 -> Uint8UInt8.
Only the variable "score" needs to be UInt32 or larger
Assigning Struct to a variable only creates a reference.