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!
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!
•1 year ago
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
•2 years ago
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
For some reason, it keeps telling me that I have invalid syntax. Why? Screenshot 2020-09-05 at 14.47.17
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
SixBeeps You forgot a ) on line 6 to end the int() call2 years ago