Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Minesweeper
#python 3.5.2 print("For level 2, input the number u get when u win!") x = input("Choose by this: \n [1][2][3]\n [4][5][6] \n [7][8][9] \nThat was the minesweeper ground. Your task is to find the treasure without encountering a bomb. Input one of the numbers to take a guess. Enjoy!\n \n \n") while 1==1: if x=="1" or x=="3" or x=="6" or x=="7" or x=="8": print("Nothing, continue!") elif x=="2" or x=="5" or x=="9": print("You found a bomb!Game over!") elif x=="4": print("U won!Congrats!🎊🎉🏆\n The number is 497.") if x=="497": print("Level 2 \n This is the new map: \n [11][12][13][14]\n [15][16][17][18] \n [19][20][21][22] \n [23][24][25][26] \n As the first input continue usi g the winning number of Level 1. Then press enter and enter your second guess! Good luck!") break
run
|
edit
|
history
|
help
0
9202335.py
MBTI
Python
Introduce myself
Faiha Lesson 3
PyBatScoreAbs
sai hw user enter table
Python | Random elements with atleast K occurrences
Binary Search
Fu 1