Toutes catégories confondues, plus de 1000 jeux ont été créés lors cette 6e édition de la Nuit du Code. Ci-dessous, les 23 (ou 10002) jeux sélectionnés pour la catégorie "Première NSI". Bravo aux élèves et à leurs enseignants. Amusez-vous bien!
L'ordre des jeux est aléatoire
import requests, os
code = 'tbxc-m6sv'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/nuit du code.finalpy.py')
with open('nuit du code.finalpy.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/perso.pyxres')
with open('perso.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "nuit du code.finalpy.py"')
Lycée en Forêt
Montargis - France
import requests, os
code = 'pcjb-kdwh'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/aim_training.py')
with open('aim_training.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/2.pyxres')
with open('2.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "aim_training.py"')
Lycée Vaugelas
Chambéry - France
import requests, os
code = 'cm2d-ut36'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/Nuit du c0de 2022V1.py')
with open('Nuit du c0de 2022V1.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/graphisme.pyxel.pyxres')
with open('graphisme.pyxel.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "Nuit du c0de 2022V1.py"')
Lycée Montesquieu
Libourne - France
import requests, os
code = '8cls-ymhp'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/NUIT DU CODE.py')
with open('NUIT DU CODE.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/tokyores.pyxres')
with open('tokyores.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "NUIT DU CODE.py"')
Lycée Jean Zay
Orléans - France
import requests, os
code = '6z5e-9gmz'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/GrowyGardens.py')
with open('GrowyGardens.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/GrowyGardens.pyxres')
with open('GrowyGardens.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "GrowyGardens.py"')
Lycée Claudel
Ottawa - Canada
import requests, os
code = 'vw6j-5lhg'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/xiaolongbao.py')
with open('xiaolongbao.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/xiaolongbao.pyxres')
with open('xiaolongbao.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "xiaolongbao.py"')
Lycée Français International de Tokyo
Tokyo - Japon
import requests, os
code = 'uhr7-cn2v'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/main.py')
with open('main.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/3.pyxres')
with open('3.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "main.py"')
Lycée Français International André Malraux
Rabat - Maroc
import requests, os
code = 'tbxc-vw2d'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/jeu_nuit_code.py')
with open('jeu_nuit_code.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/1.pyxres')
with open('1.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "jeu_nuit_code.py"')
Lycée en Forêt
Montargis - France