Skip to content
Sign upLog in
Profile icon

Ryan Gant

@gantr833
  • 21

    Cover page
    Made with Node.js

    for coding club

    Recent comments (0)
  • Digital Breakout 2.0

    Cover page
    Made with HTML, CSS, JS
    Recent comments (0)
  • Rock paper scissors

    Cover page
    Made with Node.js

    a rock paper scissors game against a computer.

    Recent comments (0)
  • Magic Tutorial

    Cover page
    Made with HTML, CSS, JS
    Recent comments (0)
Repls
Community
gantr833
gantr833
shared a Post
4 years ago
Random Card Generator
This code generates a random playing card.
Random Card Generator
Node.js
gantr833
gantr833
shared a Post
4 years ago
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
21
Node.js
georgina3
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 12 years ago
Myles123456
Myles123456
this is really good actually i just always lose it seems like 3 years ago
TuanNguyen8
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
gantr833
gantr833
shared a Post
4 years ago
Who can create the coolest thing in just one line of code.
ChristianThone
ChristianThone
@gantr833 for i in range(1000): print("One Line Code Challenge. This line prints One-Thousand Times.") `4 years ago
chilaxan
chilaxan
print(eval(f"(LB=Lc='X',b=L:int(input(a)),d=range(9)],e=Lp=print:[a,p('_'7),[p('',a[x:x+3],'',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
ash15khng
ash15khng
Swift: fatalError("lol") `4 years ago
gantr833
gantr833
shared a Post
4 years ago
Magic tricks that you can do in a flash.
Magic Tutorial
HTML, CSS, JS
gantr833
gantr833
shared a Post
4 years ago
A rock paper scissors against a computer.
Rock paper scissors
Node.js
gantr833
gantr833
Have Fun! 4 years ago
gantr833
gantr833
shared a Post
4 years ago
A simple number guessing game built with javascript.
Number guessing game
Node.js
JTLavi
JTLavi
Your program are really cool :)2 years ago
gantr833
gantr833
Hope you have fun!4 years ago
gantr833
gantr833
shared a Post
5 years ago
https://BrightUrbanMachinecodeinstruction--gantr833.repl.co
gantr833
gantr833
shared a Post
5 years ago
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLoly-8W21j9g-f7wQfX2QslEeMzB5TFFh1hcyOyPcx6XkeR:www.nintendo.com/switch/etRgxnAu0zRX4bmWnt9K628
gantr833
gantr833
shared a Post
5 years ago
https://DefensiveDecentProcedure--gantr833.repl.co
gantr833
gantr833
Don't you agree with me.5 years ago