Inspiration

I decided to dedicate my project to make a very simple game . I got inspired after seeing how most of the student use to guess the answer when they actually don't know the correct one during the class quiz.

What it does

In this game 4 players can play at a time and the code takes an hidden number randomly and those 4 players have to guess the number , all four players have 10 attempts to win, the one who gives the correct answer wins the match

How we built it

Firstly we declare a global variable which contain the value returned by function rand() then we make and array of size 4 - here 4 is representing number of players and then we make a loop that will executes until number of doesn't become 0, during that loop we will take input from all our 4 players one by one then we will check the result for each individual and if any player guess the correct number then it will display "Player n Won ! " and then will get terminate or else it will terminate when attempts become 0

Challenges we ran into

This was our first hackathon and we have never experienced such a collaborative work before

Accomplishments that we're proud of

we are proud to have a chance to learn in MLH and having a wonderful guild DEVSTRONS' <3

What we learned

We learned that we can make some real world activities into simple coded programs ,we learn how to code, react, manage, etc.

What's next for Connect Four Game

I hope some hackers learn how to make a difficult looking challenge into a easy and fun task

Built With

Share this project:

Updates