You are on page 1of 2

MetaXP Pvt Ltd

MetaXP usually has a very high number of applicants for every position thus the
application process is competitive. At MetaXP we ensure the internship is an ultimate
developer experience for the interns and we always proudly say our interns are the
top coders from across the country. You will be a different and more mature
developer walking out of Metaxp. To ensure you are fit for the program, try to
complete the assignment before the deadline. Good Luck.

P.S : Hoping to meet you on the other side.

Task 1: -
1. Create a game with 5 cards.

2. A Maximum of 5 players should be able to join the game and select one card each.
3. Players can’t select more than one card or a card that has been selected by other
players.
4. Once any player selects a card, that particular card must be greyed out and should
not be selectable for other players.
5. The entire game state should be maintained, even if the game is reloaded (refresh
tab)
Hint : You React JS/ Next JS with Firebase realtime database

Task 2 -
1. In the above game, create multiple parallel sessions, each identified by unique game
code
2. On the landing page of the game player should be either able to join an existing
game or create a new one.
3. A particular session can only have maximum of 5 players, after which no more
players can join
Few things to keep in mind while performing tasks:
a. The candidate is open to any assumptions provided it matches the prerequisite of the
task.
b. Handle as many edge cases as possible.
c. Task 1 is compulsory but candidates completing both are prioritised in hiring.
d. Visuals developed and its responsiveness have weight in selection.
e. All the tasks are mandatory.
f. Plagiarism shall not be tolerated and shall lead to candidate termination at any point
in time.
g. Feel free to publish programs developed.
h. In case the entire selection task is not completed before the deadline, do submit the
work in its current version.

You might also like