🔡Letters & Boxes [Challenge] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 26

🔡Letters & Boxes [Challenge]

The idea of this is like musical chairs 😂 You start off with say 5 letters and 5 boxes. Each shuffle a box is removed forcing one letter to be nocked out of the game this repeats untill theres only one letter and 1 box left Catch: Numbers are to be randomly shuffled around each time as follows [a][b][c][d] < all letters have a box Shuffle 1, --box [c][d][b] < "a" missed out and removed Shuffle 2, --box [b][c] < "d" missed out Shuffle 3, --box [c] < "b" missed out [c] < Won Have fun ☺

4th Feb 2018, 3:43 PM
D_Stark
D_Stark - avatar
30 Answers
4th Feb 2018, 6:29 PM
Cépagrave
Cépagrave - avatar
+ 18
https://code.sololearn.com/c1hn6CcIGuT7/?ref=app
8th Feb 2018, 7:29 AM
LukArToDo
LukArToDo - avatar
5th Feb 2018, 4:38 PM
LunarCoffee
LunarCoffee - avatar
+ 7
https://code.sololearn.com/c470iziyIizB/?ref=app
4th Feb 2018, 6:13 PM
Arun
+ 5
https://code.sololearn.com/cxFEfI3CWKY0/#py Another one in Python, human-friendly I think
5th Feb 2018, 6:42 PM
Pedro Demingos
Pedro Demingos - avatar
4th Feb 2018, 8:56 PM
🐙evil octopus
🐙evil octopus - avatar
+ 3
https://code.sololearn.com/ca97Q8U2m164/#py my try with python Edit: something is wrong i need to fix it Edit 2: O fixed it
5th Feb 2018, 6:46 PM
Julian
Julian - avatar
6th Feb 2018, 2:55 PM
dieserrapha
dieserrapha - avatar
+ 2
https://code.sololearn.com/cQhv77aDh4m6/# I did have ASCII escape code for colour, guess that isn't ok on here though. :(
5th Feb 2018, 1:59 PM
Foundy
Foundy - avatar
5th Feb 2018, 6:00 AM
Quach Tien Dat
Quach Tien Dat - avatar
+ 1
Doesn't look that pretty in JAVA but maybe i just couldn't find a good way to do it ^^ https://code.sololearn.com/c3b4irLT2Czi/?ref=app
6th Feb 2018, 1:02 AM
Merih Gayretli
Merih Gayretli - avatar
+ 1
https://code.sololearn.com/c1j7uIlG8In8/#cpp
6th Feb 2018, 8:35 AM
Marlon Canlas
Marlon Canlas - avatar
6th Feb 2018, 11:45 AM
Nickolas Casalinuovo
Nickolas Casalinuovo - avatar
6th Feb 2018, 12:45 PM
LootMann
0
have fun 😨😂
5th Feb 2018, 3:40 PM
Георгий Оленченко
Георгий Оленченко - avatar
6th Feb 2018, 2:42 AM
Gabriel Nunes
Gabriel Nunes - avatar
0
Type=<a yes
6th Feb 2018, 11:05 AM
namya
namya - avatar
0
B
6th Feb 2018, 12:25 PM
Resistor Unity
Resistor Unity - avatar
6th Feb 2018, 1:17 PM
Bob Thornton
Bob Thornton - avatar