Gargoyles versus Santas
1 CodinGamers in the Gargoyles versus Santas arena
Approved by field3 tierrarica616 Sko0owi
A higher resolution is required to access the IDE
Statement
This is a league based challenge.
A group of Santas will be dropping off gifts for local children. For the gargoyles, this is a great opportunity to get in the way of the giveaways and show that this is their area. Unfortunately, it turns out on the spot that your gargoyle team is not the only one here.
Control your gargoyles to destroy more valuable presents and score more points than your opponent's team.
The Goal
Rules
🐞 Debugging Tips
- Hover over an entity to see more information about it.
- Add text at the end of an instruction to display that text above your gargoyle.
- Click on the gear icon to display additional visual options.
- In particular use Debug Mode, to see more information about the game state.
- Use the keyboard to control actions: space for play/pause, arrows for step-by-step forward movement.
Acknowledgments
This contribution was developed for the high schoolers Saint Nicholas Day visiting University of Wroclaw, 2024.
Authored by Jakub Kowalski (@aCat).
Special thanks for testing and other help to Sko0owi.
Game Input
Second line: integer myScore containing your current points.
Next gargoylesPerPlayer lines: 3 space-separated integers describing your gargoyles:
- x: x position of the gargoyle.
- y: y position of the gargoyle.
- cooldown: Always
1 in this league.
Next gargoylesPerPlayer lines: 3 space-separated integers describing opponent's gargoyles:
- x: x position of the gargoyle.
- y: y position of the gargoyle.
- cooldown: Always
1 in this league.
Following entityCount lines: 5 space-separated integers describing present:
- id: unique id of the present.
- value: Always
1 in this league. - x: x position of the present.
- y: y position of the present.
- vy: falling speed of the present.
Optionally, you can append a
-
FLY x y [message] to make gargoyle fly towardsx y .
Response time for following turns: ≤
Turn limit:
A higher resolution is required to access the IDE