Matthew Goodman

@tiki720 (52) • Kitsilano Secondary School
I want to make and code stuff
My unbeatable game of Nim
posted to Share by Jfcbartlett

@Jfcbartlett \n means newline, you can put it instead of using print(" ") each time you want to space lines out. e.g
print("first line\nsecond line")
instead of
print("first line")
print("second line")

I must have made a typo when I wrote /n

My unbeatable game of Nim
posted to Share by Jfcbartlett

@Jfcbartlett
I'm not very good at python, but I re-wrote it so the computer always wins.
https://repl.it/@tiki720/Unbeatable-game-of-Nim-V21

My unbeatable game of Nim
posted to Share by Jfcbartlett

you should try to make a version with only 1 game loop and you get to choose the winning number

How to Make a Custom Code Theme for Repl.it
posted to Learn by minx28

Thanks for this, hopefully the team at repl.it will make this a feature

Language Detection
posted to Share by tiki720

@Case_Buttitta keep in mind it’s not perfect, also for me aaa isn’t but aaaa is at around 90% instead of >10%

Language Detection
posted to Share by tiki720

@HappyFakeboulde yeah, I took inspiration ;) from it but I made it run faster. He used 26 input nodes per letter when I got away with only using 26 total. Instead, I made it so each time the letter comes up in the word it adds 0.2 to the total input value, which, in the end, comes to the same result.

Survive
posted to Share by tiki720

@Caleb_Bradley oh sorry, you have to write it with a capital letter i.e."Yes" not "yes"

Exciting HTML Multiplayer Pong.
posted to Share by RyanRana

is it meant to bounce the same way over and over again?