This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tetris NW 28/04/2020 | |
# https://nsi.xyz/tetris | |
# par Robert V. & Fedyna K. | |
from ion import keydown | |
from kandinsky import * | |
from random import randint | |
from time import * | |
from math import sqrt,log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kandinsky import * | |
from random import randint | |
from ion import * | |
# Factors NumWorks, 13/04/2022 | |
# par Ilyas RAHMOUN & Vincent ROBERT | |
# https://nsi.xyz/factors <3 | |
level_c,level_m,cursor,avg = 1,1,0,1.0 | |
last_key,retry,in_level = None,False,False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kandinsky import * | |
couleur_gris = (196, 196, 196) | |
couleur_os = (192, 53, 53) | |
couleur_noir = (42, 42, 42) | |
couleur_jeux = (148, 113, 222) | |
# sens 0 = G, 1 = H, 3 = D, 2 = B (comme les codes touches) | |
def fleches(x, y, sens, couleur=(255,255,255)): | |
# (x,y) coordonnées du coin supérieur gauche du rectangle 6x12 ou 12x6 contenant la flèche | |
for i in range(6): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * | |
from kandinsky import * | |
from random import randint | |
from ion import * | |
from time import * | |
grille, isReset = None, None | |
niveau, pos, cursor, avg = 1, [], 0, 0 | |
ecart = [(-12 if len(str(niveau)) > 1 else -6), -8] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kandinsky import * | |
from random import randint | |
from ion import * | |
# Factors 1.1 NumWorks, 14/04/2022 | |
# par Ilyas RAHMOUN & Vincent ROBERT | |
# https://nsi.xyz/factors <3 | |
l_c,l_m,cursor,avg = 1,1,0,1.0 | |
last_key,retry,in_level = None,False,False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import ceil | |
platform = '' | |
try: from sys import platform | |
except: pass | |
def nop(*argv): pass | |
show, wait = nop, nop | |
neg_fill_rect = False | |
has_color = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from turtle import * | |
from random import randint | |
colormode(255) | |
os = (192,53,53) | |
def n(x,y): | |
if -70<x<-60 and -80<y<80: | |
return True | |
if -110<x<-70 and -3.75*x-333-15<y<-3.75*x-333: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kandinsky import fill_rect, draw_string | |
from ion import keydown | |
from math import sqrt | |
from random import randint | |
from time import monotonic | |
try: | |
from kandinsky import get_keys | |
color = (192, 53, 53) | |
except: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * | |
from kandinsky import * | |
from ion import keydown | |
from random import * | |
from time import sleep | |
gp = get_pixel | |
fr = fill_rect | |
ds = draw_string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Matrix v0.1 NM 17/10/2020 | |
# https://nsi.xyz/matrix | |
# par Robert Vincent (cent20) | |
from time import sleep | |
from kandinsky import * | |
from ion import keydown | |
from random import randint | |
print("Matrix") |
NewerOlder