📜 ⬆️ ⬇️

Quiz from IRC chat for iPhone

Many people remember those times when people did not use Skype and ICQ, but sat in IRC chat rooms. At that time the channels with the Quiz bot were very popular, where you could always sit, guess the words and compete with friends in erudition.

image

The times are coming, and the game is still popular, but in the past presentation it has become outdated due to the fact that everyone has long since switched to the messengers. We decided to fix this problem in our internal division of e-Legion Labs, creating a version of "Quiz" for iPhone.
')
image
Download . The game is free.


The IRC Quiz is free and is designed for multiplayer, that is, you will compete with real players. Therefore, when entering, you will be asked to register using your mail or social network (Fb, Twi, Vk).

The concept of the game is similar to poker, but instead of card hands you will have word guessing rounds. In each round, all players in the room fold 1, 20 or 50 coins into the total pot, depending on the selected bet. The one who is faster than the others correctly answers the question - takes the entire bank and rises in the rating.

image

After registration, each player is given 555 coins, which, when playing at the smallest stakes, will be enough for 555 questions (in case you don’t give the correct answers). If the coins run out, you can buy them for real money - 1000 coins for 33 rubles, 3000 for 66, 10000 for 99.

image

There are three game modes in the IRC Quiz:

  1. Normal game . Room with a general chat with random players.
  2. Stealth game . For those to whom the "conversations" interfere and who are focused on the game. An added bonus of this game is periodic image questions instead of text questions.
  3. Play with friends . A room in which you can compete in a close circle of friends without random users. Setting the privacy / publicity of the room will allow random players to connect to your room, but there will always be a place for you and your friends.


image
(clickable)

In total, the database contains 140 thousand questions from different areas of knowledge of various levels of complexity.

Development


As you can see from the design, we tried to make an interface that would look pleasant on both iOS 6 and iOS 7. For such a design, the standard controls were hard to find, since at the time of active development, iOS 7 was not yet presented, so I had to write a lot of my own. From more or less interesting:


Most controls are written using simple UIView features, timers, and animations, something done on Core Graphics.

The server was developed on node.js , data is stored in mongodb .
As the ORM library used mongoose . For tests, the mocha framework was used . Client and server communicate via tcp socket using messages in JSON format.

Soon, versions for iPad and Android devices will be released.

In the following articles we will tell about the development process + share the numbers, how many people downloaded the game after publishing on Habré :)

image
Once again the link to download . We will be glad to any feedback.

Source: https://habr.com/ru/post/189124/


All Articles