- You released 5 applications before your opponent.
- You released more applications than your opponent after
200 game phases. - In case of a tie, you have less Technical Debt cards than your opponent.
Green Circle
1,836 CodinGamers in the Green Circle arena
Approved by darkhorse64 Astrobytes putibuzu
A higher resolution is required to access the IDE
- 62
Learning Opportunities
This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.
Statement
This is a league based challenge.
Starter AIs are available in the Starter Kit. They can help you get started with your own bot.
Introductory video by Sebastien and Loïc: https://youtu.be/OJxV_zhICls
This challenge is inspired from the board game Samsara
Goal
Rules
Each player has an IT development team. The game takes place in an office with 8 desks. The hackathon will last many turns. Each turn, the players will play one after the other.
This game is based on Deck Building. Each team will have its own deck of cards that will get bigger during the game.
Each team starts the game with
The team will get more cards and will lose some during the game.
The game space (the office)
The office is made of 8 desks. Each desk is dedicated to a specific skill
TRAINING (0)CODING (1)DAILY_ROUTINE (2)TASK_PRIORITIZATION (3)ARCHITECTURE_STUDY (4)CONTINUOUS_INTEGRATION (5)CODE_REVIEW (6)REFACTORING (7)
Those desks are numbered from
Due to covid-19, Management enforced a one way path in the office so as not to bump into other people. You must always move in the same direction.
Applications
Each application needs some skills to be released. Applications are the same for both players. Once an application has been released, it is removed from the game for both players.
Applications will get bigger through the leagues.
A small application needs 3 sets of 2 skills (like 2 REFACTORING, 2 TRAINING and 2 CODING)
A big application needs 2 sets of 4 skills (like 4 DAILY_ROUTINE and 4 CODE_REVIEW)
Each BONUS skill card provides one good skill (any of them) and one shoddy skill.
Each specific skill card provides 2 good skills (of this specific type) and 2 shoddy skills.
For instance, a CODING card provides 2 CODING skills and 2 shoddy skills. Those shoddy skills can be used to replace any missing skill, but the quality will not be there.
Each shoddy skill used during an application release will give you a Technical Debt card. Those cards are useless. They are only here to slow you down since you can draw some from your draw pile.Turn Description
At the beginning of your turn, your team draws 4 cards at random from their draw pile.
1. Move
The team begins by moving to another desk (they must leave the desk for the other team).
They will get one skill card from the desk they are moving to (TRAINING, CODE_REVIEW, REFACTORING, CODING...).
If the desk is empty (no more cards), the team will get a BONUS skill card instead.
2. Use a skill
Will only appear in later leagues.
3. Release an application
The team can use their available skills in hand to
This phase will only appear if you have enough skills to do it.
Don't forget, if you use shoddy skills, you'll receive Technical Debt cards!
4. End of the turn
All cards in hand (skills and Technical Debt) are discarded.
Game end
The hackathon stops as soon as one team releases its 5th application.
Beware, since this hackathon is on the theme of Green IT, the referees will be paying close attention to the quality of the last released application.
The 5th application of each team cannot be released with shoddy skills!
When a team has released 5 applications, the game will end once all teams have played the same amount of turns.
The winner is the team that released the most applications.
In case of a tie, the winning team will be the one that has the less Technical Debt cards.
- Your program does not provide a valid command in time.
🐞 Debugging tips
- Hover over a player, card or card pile to see extra information about it
- Append text after any command and that text will appear above your player
- Press the gear icon on the viewer to access extra display options
- Use the keyboard to control the action: space to play/pause, arrows to step 1 frame at a time
Game Input/Output
Line 2: applicationCount for the amount of applications that are still to be released.
Next applicationCount lines: the word
1 line per player: 4 integers (Your data is always given first):
- location : the desk currently used by the player (-1 in the first turn).
- score : the amount of released applications.
- permanentDailyRoutineCards : ignore for this league.
- permanentArchitectureStudyCards : ignore for this league.
Next line: cardLocationsCount for the amount of locations where the players have some cards.
Next cardLocationsCount lines: the location name followed by 10 integers, the number of cards in this location (cardLocation trainingCardsCount codingCardsCount dailyRoutineCardsCount taskPrioritizationCardsCount architectureStudyCardsCount continuousDeliveryCardsCount codeReviewCardsCount refactoringCardsCount bonusCardsCount technicalDebtCardsCount). Location can be
Next line: possibleMovesCount for the amount of possible actions.
Next possibleMovesCount lines: a string, one possible action.
-
RANDOM : the player decides to do one of the possible action at random.
-
WAIT : the player decides not to do any optional action.
-
MOVE zoneId: the player moves to another desk.
This action is mandatory and is only available in the MOVE phase.
-
RELEASE applicationId: the player releases an application.
This action is optional and is only available in the RELEASE phase.
Beware: the 5th (last) application of each team cannot be released with shoddy skills!
Examples:
-
MOVE 3 -
RELEASE 16 -
WAIT nothing to do... -
RANDOM got no idea...
Response time for the first turn ≤
- Players will have the ability to play some skill cards
- Players will have to give one skill card to their opponent if they move too close to them
- Half of the applications will need more skills to be released
Societe Generale ambitions on Green IT : https://youtu.be/ZstnO7j1y4c
Our partnership with INR and our signing of the Sustainable IT Charter : https://careers.societegenerale.com/green-it-program
Our experts Masterclasses in video – to know everything on Green IT
Masterclass #1 Why doing Sustainable IT? : https://youtu.be/eLffG8Z0iXU
Masterclass #2 E-accessibility stakes for IT : https://youtu.be/oRA_CrGxGgw
Masterclass #3 Architecture and Green IT : https://youtu.be/x2fMjGqinLA
Masterclass #4 Moving to a sustainable IT design : https://youtu.be/kb2PM7OniRk
A higher resolution is required to access the IDE