Inspiration

We used to play a game called scatter in our childhood. The concept of the game is that, we usually have 3 to 4 friends and we would create some categories like names, places, foods etc. And randomly a letter was chosen and we must fill up the all the categories with the names starting with the letter chosen. We used to get points for every correct word and yeah there was time limit too. So I used this same concept in my game and to converted the game into a digital game with C programming.

What it does

As explained earlier, it is a multiplayer game written in C programming language. In this game we need at least 2 players. And the players are given to fill in different words in different categories within 10 seconds. But here is the catch every words must begin with a randomly generated alphabet by the program. The game runs for multiple rounds and at the end of final round the highest scorer wins. The score is given as if he/she gives a correct answer it is 50 points plus and there is a time limit of 10 seconds. If someone crosses the time limit than the score decreases by 5 points in every 1 second. The user or players can configure the number of players, time limit and number of rounds.

How we built it

We used C programming language and used some basic techniques and developed this program. Header files like stdio.h, time.h, stdlib.h and ctype.h were used for formatted i/o, date and time functions, string functions and type conversion respectively.

Challenges we ran into

The main challenge was how we decide whether the player has written the correct values i.e. if in place of food categories he writes randomly adaddf then how to know whether its a valid name for that category. The issue was solved by giving the players to decide which words are correct and which are not in the end of every rounds.

Accomplishments that we're proud of

I am proud that I was able to use fundamentals of C progamming language to make a multiplayer game that runs on terminal.

What we learned

I learned more about the libraries in C programming. I also learned some time functions and their uses in C programming language.

What's next for Scatter - A word game

I am thinking of adding a feature which doesnot gives point to anyone if they have the names in common for same round for same category.

Built With

Share this project:

Updates