Create 10print.js

master
Andreas Gysin 2023-01-31 23:19:50 +01:00
rodzic accfe6b960
commit 5f35e06715
1 zmienionych plików z 20 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,20 @@
/**
[header]
@author ertdfgcvb
@title 10 PRINT
@desc 10 PRINT CHR$(205.5+RND(1)); : GOTO 10
See also:
https://10print.org
*/
// Run the program only once
export const settings = {
once : true
}
export function main() {
// Also try: ╩ ╦ or ▄ ░
// or any combination from
// https://play.ertdfgcvb.xyz/abc.html#font:characterset
return Math.random() < 0.5 ? '' : '╲'
}