Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Connect-Four-game using just html, css and js.

@yassine-ramla

Desktop design screenshot for the Connect Four game coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
4advanced
View challenge

Design comparison


SolutionDesign

Solution retrospective


hi, this is the hardest one till now, Connect-Four game with play-vs-cpu option (it's not that easy to win the cpu 😬), i'll really appreciate your feedback and please let me know if there are any issues either with the front-end or with the game logic. i would also like to know your score against the cpu 😀.

Community feedback

P
Curtis 890

@webguy83

Posted

Good approach to this :). I find it would be cool to maybe delay the CPU putting its peg down right after the player animation done. So far I haven't lost to the CPU yet! 4-0 😁. I will try the desktop version when I have the chance.

1

@yassine-ramla

Posted

@webguy83 thank you so much Curtis, i really appreciate your feedback. I've added the delay you told me about, i also think it's better now. i didn't know it's that easy to win the algorithm I've implemented, it seems that you are a good player 😁, it's slightly better now if you would like to give it a try. i would be thankful again if you told me about any issues. thanks a lot.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord