Techfest International Coding Challenge
"When someone says: ‘I want a programming language in which I need only say what I wish done’, give him a lollipop."
It was never just ‘1’s and ‘0’s. It is with these ‘1’s and ‘0’s that technology is taking such rapid strides forward at such a blurring pace that the so-called-‘dumbos’ computers occupy every modern field of engineering and life. Techfest brings you an opportunity to use your logics, clarity of thought and creativity and enter the matrix.
So Code! Compile! Ship! To participate in the event visit : here
Teams are required to solve the real life problems through coding. Programming skills of participants would be tested.
Date of the event: 26th October. 9:00 PM IST
The competition will be hosted on http://www.codechef.com/TCFST13/
You need to be registered on Code Chef to compete. In case you are not already registered you may register at: http://www.codechef.com/user/register and then follow the link to the contest page given above.
- The bot will start from starting zone as shown in the figure.
- Teams must build an autonomous bot.
- There are two runs, first is the dry run and second is main run.
- During the dry run the bot has to map the positions of the nodes in the 5x5 grid. There will be two nodes on the grid and position of nodes will be declared just before the match. Time for dry run is 3 minutes. If a team completes the run within 3 minutes then no points will be awarded but if a team takes more than 3 minutes then the extra time taken will be deducted from main run time. There will be two nodes on the arena.
- During the main run the bot has to move to the nodes and display the colour code of four squares around that node.Bot will firstly move to the node whose y-coordinate is least of the two nodes.The coordinate system is explained in detail later.
- When the bot reaches to the first node, it will save the number of white squares around that node as y1 and the x-coordinate of that node as x1. And similarly for second node bot will save y2 and x2.
- Bot will then move to (x1,y1) and (x2,y2) respectively. When it moves to the respective coordinates, it has to display the colour code of four squares around that coordinate.
- When it reaches to (x1,y1) and reads the surrounding square cells, the number of white squares detected around (x1,y1) will denote x3 and when it moves to (x2,y2) number of black squares around (x2,y2) will denote y3.
- After that the bot will finally move to the final coordinates (x3, y3) and display the colour code of the four squares around that coordinate and LED configuration has to be on until the organizer asks them to switch it OFF. Bot has to stop at the final coordinate (x3, y3) and the task is considered over.
- When the bot reaches any assigned coordinate it has to show the colour code of four squares to which that coordinate is common. These squares are the 4 surrounding squares around the coordinate.
- The colour code should be displayed by 8 LEDs. In each quadrant there should be 2 LED's, 1 for each Type of square cell.
- LED which is indicating colour code of a given square should be within the boundaries of that square. Type A square cell should be displayed by an �on� state of a LED in that particular quadrant while Type B square cell should be displayed by �on� state of another LED in the same quadrant. Please use LED's of different colours to avoid confusion i.e use 4 yellow LED's for Type A square cell and 4 red LED's for Type B (Type A & B explained later and in Figure 2). ). Positions of Type-A and Type-B cells shown in the figure are just an example. The positions will be declared just before the match.
- Once the bot reaches an assigned coordinate, reads and displays the colour code of surrounding square cells, the code displaying LEDs should maintain their configuration (on/off condition) until they reach the next coordinate and then display the new colour code of the reached coordinate and maintain this configuration again.
- When the bot moves to a concerned coordinate it has to show that by lighting a yellow LED on that coordinate. The bot has to switch ON the yellow LED at the concerned coordinate only when some part of the bot is above that coordinate otherwise no points will be awarded.
RulesThe teams will have to submit their bot before the start of the competition. Only those teams which submit their bots will be allowed to participate. The bot will be handed back to the team during the time of their run. They�ll be given 2 minutes to do any hardware changes if they wish. If the teams are found to alter their code after depositing their bots, they�ll be disqualified. They are however allowed to make any other hardware changes.
- At the start of the task, the bot will be placed at the starting point. Only 1 member from the team is allowed to be near the game field while starting the bot.
- Starting Procedure � The bot must be started by only 1 on-board switch. The starting procedure of the bot should be simple and should not involve giving bot any manual force or impulse in any direction. Teams can have a separate on-board switch for restart. This switch will have to be shown before the run to the organizers.
- Timer will start when the organizer gives the signal to start.
- Restarts � A maximum of 3 restarts will be given to a team. No penalty will be awarded for a restart. During a restart, the bot will have to be restarted by putting it back on the starting point and turned on again on the signal of the organizers. In a restart, the timer will not be set back to zero and will not be paused. During a restart, a contestant must not feed information about the grid to the bot. However, contestants are allowed to: adjust sensors (gain, position etc.) and make repairs. Acontestant may not alter a bot in a manner that alters its weight (e.g. removal of a bulky sensor array or switching to lighter batteries to get better speed). The organisers shall arbitrate.
- The team will be given 1 minute time before the run for calibration.
- The LEDs should be strictly of high intensity and visible to naked eye.
- General Rules �
- Only 1 member of the team is allowed to handle the bot.
- Participants are not allowed to keep anything inside the arena other than the bot.
- Laptops/personal computers are not allowed near the arena. Other Wi-Fi, Bluetooth, etc. devices must be switched off. The organisers hold the right to check for these devices and their usage and disqualify the team.
- The time measured by the organisers will be final and will be used for scoring the teams.
- Time measured by any contestant by any other means is not acceptable for scoring.
- In case of any disputes / discrepancies, the organisers' decision will be final and binding.
- The organisers reserve the rights to change any or all of the above rules as they deem fit. Change in rules, if any will be highlighted on the website and notified to the registered teams
- 10 points each will be awarded for moving to the correct nodes and switching on the yellow LED.
- 20 points will be awarded for displaying the correct colour code for all the squares surrounding the nodes.
- 20 points each will be awarded for moving to (x1, y1) and (x2, y2) coordinates and switching on the yellow LED.
- 30 points will be awarded for displaying the correct colour code for all the squares surrounding (x1, y1), (x2, y2) and (x3, y3).
- 60 points will be awarded for switching on the yellow LED at the (x3, y3) coordinate.
- 50 bonus points will be awarded for displaying all the colour codes correctly. A team can score a maximum of 300 points.
- The team which completes the task with maximum points will be the winner.
- In case no team finishes the task, team with highest points will be the winner. To evaluate in this case differential marking has been done at various checkpoints.
- In case of a tie, the team who has taken least time will be the winner.
Team SpecificationA team may consist of (a maximum of) 3 participants. Students from different educational institutes can form a team.
EligibilityAll students with a valid identity card of their respective educational institutes are eligible to participate in the event.
Certificate PolicyThe top 3 teams emerging from this competition will be awarded a Certificate of Excellence.
All teams which will have a minimum score of 30 will be awarded a Certificate of Participation.