Christmas task
December 18, 2024It is Christmastime, and as every year, there will be a Christmas task.
The goal of the Christmas task is to allow you to prepare for the upcoming Algorithms and Data Structures programming contest,
by developing a simple bot in your tutorial groups.
This year, we also give you the option to participate in a mini-competition, where you play the game yourself to see who of your fellow students can reach the highest score.
About the game
TerraTactician Expandoria is a logic game, where you have to collect resources to match the ever-growing resource demands. There are three resources in total (materials, money, and food), which can be collected by placing tiles and collecting rewards. The tiles you place interact with one another; this means that it is important to think about tile placement to be able to match the resource demands, especially in the long term. \
You can learn more about the tiles here
Tutorium task
It’s Christmastime, and this year has been especially stressful.
This is why Santa needs your help to prepare for the holidays.
Can you help him build a small island to collect resources and find the missing Christmas presents?
Your task is to collect 8 rewards. (Rewards appear above tiles and can be collected by clicking them or using the corresponding bot methods.)
You can learn more about the Java bot methods in our generated JavaDoc docs.
The game uses hexagonal coordinates, or more specifically, cube coordinates.
You will probably need cube coordinates to place tiles. You can find out more about cube coordinates in this cube coordinate guide
Mini Competition
As a motivation to play the game yourself and figure out the mechanics, we also offer you the option to compete against your fellow students,
to see who can reach the highest score.
This Christmas, you are supposed to play the game yourself and hand in a record.json
, which we will replay and publish your score to a scoreboard server.
(In Algorithms and Data Structures your bot will have to play for you, and its score will be uploaded to the scoreboard.)
You can find instructions on how to record the game here. You have to hand it the file on the Introduction to COmputer Science submission site.
You can view the current leaderboard here
(We validate your recording. For it to function properly, you have to be using a recent version of the game. Additionally, we cannot guarantee that the simulation works flawlessly; this is why we will be using our calculated score)