bario_v001.py

Created by polettielio

Created on October 25, 2022

580 Bytes

super bario bros


from ion import keydown as kd
from kandinsky import draw_string as ds, fill_rect as fr
from time import sleep as sl, monotonic as mo
global but

def main():
  def sc(c):
    fr(0,0,320,222,c)
  
  def menu():
    sc((0,192,255))
    fr(45,45,130,60,(130,76,65))
    ds("SUPER",55,55,(255,)*3,(130,76,65))
    ds("BARIO BROS.",55,75,(255,)*3,(130,76,65))
    #ds("v001-lapingenieur",,95,(255,)*3,(0,192,255))
    fr(0,182,320,20,(130,76,65))
    
    
    while True:
      if kd(but):
        continue
  
  menu()

# Main button:
#  - ok = 4
#  - exe = 52
but=52