Ryan Gant
@gantr833
In this game you will be playing against an AI. You can raise the counter by 1, 2, or 3. Then the AI will go. If the other person reaches 20, you basi
Node.js
georgina3 i know how you can't win when you type 1 al types 3 when you type 2 al types 2 when you type 3 al types 13 years ago
TuanNguyen8 My teacher teached me a trick to play this at my extra class when in was a kid. The objective is to hit n(the number that if u hit u will lose)-1 first. U have to go first if (n-1)/(k(the max value that u can add)+1)=m>0. Then u will add m. Else u have to let the opponent go first. Then on the other turns, the sum of your and your opponents point have to equal to m. But in this case (21-1)/(4+1)=0 so u have to let the bot go first but u cant do that because “0” is an invalid value so u cant win 4 years ago
Who can create the coolest thing in just one line of code.
ChristianThone @gantr833
for i in range(1000): print("One Line Code Challenge. This line prints One-Thousand Times.")
`4 years ago
chilaxan print(eval(f"(LB=Lc='X',b=L:int(input(a)),d=range(9)],e=Lp=print:[a,p('_'7),[p('[4m',a[x:x+3],'[0m',sep='|')for x in[0,3,6]]:(Lb:b]9if 1in[all([b==a[int(x)]for x in str(list(map(ord,'ÒřʦɶơĂ͈ö'))[y])])for y in range(8)]else a)((Lb,c,d:[b.pop(c),b.insert(c,d),b)([e(d),e(a)],a,d.index(b(c)),c)if['X']9!=a!=['O']9else a,c):(L:'X'(a==['X']9)+'O'(a==['O']9)or'C')({'B('9}[' ']9){',a))'*4}))('O')".replace('L','lambda a,')))
One line tic tac toe4 years ago
https://BrightUrbanMachinecodeinstruction--gantr833.repl.co
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLoly-8W21j9g-f7wQfX2QslEeMzB5TFFh1hcyOyPcx6XkeR:www.nintendo.com/switch/etRgxnAu0zRX4bmWnt9K628
https://DefensiveDecentProcedure--gantr833.repl.co