so canvas method is good but i like those ascii art game made for running in terminal and i wondered if it could have a way to make game for the simpl interactive console using ascii art as graphisme i mean output can render space character you can using comand line input like in real terminal everything would be written in pseudo code sprite would be build line after line and something akin to regex replace would do animation and movement exemple :
//blinking cat just an animation that make a cat blinking when user type pet it in the comand line
declare scene : asciiart
cat (
row1 :" A----A "
row2 : " =( 0 0 )=___) "
row3 : " !-----!-------! "
)
output cat
declare wish : string
output "what do you want do do with this cute cat ?"
output " [ Pet it | Do nothing ] "
input wish
if wish >= "Pet it" then
Match (cat.row2('0 0')
replacement ('-- --')
cat=(row1+row2replacement+row3)
endif
you can modify the syntax but i think it would be a nice add on

