Skip to main content
deleted 23 characters in body
Source Link

Python / Pygame 199 127 125125 92

from pygame import*;display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:
 for e in event.get():
  if e.type==2:quitpump()

Thanks to some tips from ace.

Python / Pygame 199 127 125

from pygame import*;display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:
 for e in event.get():
  if e.type==2:quit()

Thanks to some tips from ace.

Python / Pygame 199 127 125 92

from pygame import*;display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:event.pump()

Thanks to some tips from ace.

added 19 characters in body
Source Link

Python / Pygame 199 127127 125

from pygame import*;s=displayimport*;display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:
 for e in event.get():
  if e.type==2:quit()

Thanks to some tips from ace.

Python / Pygame 199 127

from pygame import*;s=display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:
 for e in event.get():
  if e.type==2:quit()

Thanks to some tips from ace.

Python / Pygame 199 127 125

from pygame import*;display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:
 for e in event.get():
  if e.type==2:quit()

Thanks to some tips from ace.

deleted 97 characters in body
Source Link

Python / Pygame 199199 127

importfrom pygame as p
p.init();s=p.displayimport*;s=display.set_mode((1,1)9,p.FULLSCREEN9);s.fill((0,0,0));p.display.flip(-1<<31);p.mouse;mouse.set_visible(0)
while 1:
    for e in p.event.get():
        if e.type==p.KEYDOWNtype==2:p.quit()

I could probably looseThanks to some in detecting the input, I'll look into ittips from ace.

Python / Pygame 199

import pygame as p
p.init();s=p.display.set_mode((1,1),p.FULLSCREEN);s.fill((0,0,0));p.display.flip();p.mouse.set_visible(0)
while 1:
    for e in p.event.get():
        if e.type==p.KEYDOWN:p.quit()

I could probably loose some in detecting the input, I'll look into it.

Python / Pygame 199 127

from pygame import*;s=display.set_mode((9,9),-1<<31);mouse.set_visible(0)
while 1:
 for e in event.get():
  if e.type==2:quit()

Thanks to some tips from ace.

Source Link
Loading