Room For A Princess Easy

Challenge ends in

Sign up to get important updates

  • LOCATION CODE PRACTICE CHALLENGE
  • DATE Mar 12, 2019 - Mar 11, 2020

Room For A Princess

Challenge outline

Hello and welcome to the challenge!


Write a code which will help in painting a room for a princess. The princess has defined few criteria of colors which should be met for a room to make it beautiful:

  • color1 and color2 cannot be choosen at the same time
  • color3 and color4 cannot be choosen at the same time
  • color5 and color6 must be choosen at the same time
  • color7 or color8 must be choosen(at least one, or both)

Your code should check if the given set of colors (representing by numbers from 1 to 8) met criteria defined by the princess.


You can solve this programming contest in JavaScript, PHP, Python, Ruby and other languages. If you want, you can also take part in other May 2019 competitions. Below you can find some of them:



Did you like this challenge and would like to try your hand at some interesting big programming competitions? Check what’s all over the news in tech world in May 2019 in our article with upcoming IT Conferences, Hackathons and Online Challenges in May 2019.


Have fun and good luck! :)