Developer Person
@DeveloperPerson
1
Quadratic of best fit with gradient descentThis is a machine learning algorithm using Momentum Gradient Descent to find the quadratic of best fit
9
0
1
0
Connect4-JSThis is just a basic Connect 4 game I made in under 2 hours using p5.js. Like the alert says at the beginning, press h for help(open that alert again), press 1-7 or click to place tiles, press b to enable blindmode(can't see pieces), and press r to restart the game. It does automatically tell you when you win or it's a draw. Currently no AI, but that may be added in a future version. Have fun!
21
1
0
0
JS-SnekA basic JS snake game, made with p5.js, nothing really too different from the original, except that as you get apples, you speed up. Controls: On any device with a keyboard, arrow keys to move. On mobile, tap on the side where you want to move.
That's about it. Have fun!
5
0
0
function Player is defined in player.js, function Projectile is defined in projectile.js. new Player() returns a Player object, but new Projectile() g
HTML, CSS, JS
0
Visualize Color Of Chess SquareThis is just something basic I built in 5 minutes, designed to help me visualize the chess board. It tells you a square and you have to say which color(white or black) it is. It has been of use to me.
17
2
0
This, as the name suggests, is trying to take the numbers 1 to 1000, do the Collatz Conjecture(also known as the 3n+1 problem), and then find the numb
Python
19wintersp You need to reset count for each iteration in the for loop. Add:
count = 0
to be the first line inside of the for loop.2 years ago
For some reason, it keeps telling me that I have invalid syntax. Why?
Screenshot 2020-09-05 at 14.47.17
Python
PattanAhmed @ThomasParker2 Hi,
Don't worry...
You just made a typo:-
You have forgotten to add an extra bracket at the end of line 6.
Change your line 6 code to this:-
guess = int(input("Guess"))
That's it
Thanks!
Hope this helps2 years ago
Coder100 You forgot to add a ) on line 6:
image
Correct code should be (line 6):
guess = int(input("Guess"))
Also, on line 11. That's invalid syntax too. The correct way is +=:
tries += 1
`2 years ago