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 "Terminale NSI". Bravo aux élèves et à leurs enseignants. Amusez-vous bien!
L'ordre des jeux est aléatoire
import requests, os
code = 'vw6j-al4y'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/ndc.py')
with open('ndc.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/')
print(py.content.decode())
os.system('pyxel run "ndc.py"')
Lycée Français International de Tokyo
Tokyo - Japon
import requests, os
code = 'cm2d-dzp3'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/Jeu_v4.py')
with open('Jeu_v4.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/1v12.pyxres')
with open('1v12.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "Jeu_v4.py"')
Lycée Montesquieu
Libourne - France
import requests, os
code = 'nprk-3d6c'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/NuitducodeLyceeChoiseulTours.py')
with open('NuitducodeLyceeChoiseulTours.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/5.pyxres')
with open('5.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "NuitducodeLyceeChoiseulTours.py"')
Lycée Choiseul
Tours - France
import requests, os
code = 'aunh-kwcz'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/star captain.py')
with open('star captain.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 "star captain.py"')
Le Bon Sauveur
Le Vésinet - France
import requests, os
code = 'aunh-89cs'
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 + '/main.pyxres')
with open('main.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "main.py"')
Le Bon Sauveur
Le Vésinet - France
import requests, os
code = 'pcjb-qbel'
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 + '/1.pyxres')
with open('1.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "main.py"')
Lycée Vaugelas
Chambéry - France
import requests, os
code = '29yv-n3le'
site = 'https://www.nuitducode.net'
url = site + '/storage/fichiers_pyxel/' + code
py = requests.get(url + '/pioche bonome leo lola.py')
with open('pioche bonome leo lola.py', 'wb') as file:
file.write(py.content)
pyxres = requests.get(url + '/bonome.pyxres')
with open('bonome.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "pioche bonome leo lola.py"')
Lycée André Maurois
Elbeuf - France
import requests, os
code = 'x9tr-rayk'
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 + '/arthur_mathis.pyxres')
with open('arthur_mathis.pyxres', 'wb') as file:
file.write(pyxres.content)
print(py.content.decode())
os.system('pyxel run "nuit_du_code.py"')
Lycée Dumont d'Urville
Caen - France