💡 Our Locations: Surrey, New Westminster & UBC🚀 Summer Camps: Advanced AI Applications for StudentsCall Us +1 236 427 2510🎓 New AI Foundations Starting Next Month - Enroll Now!
Yannis Made a real Cool Football Game and story
A story based football game, which Yannis created with careful planning and coding
"Random Soccer Ball". The following overview highlights the gameplay mechanics and the underlying code:
Gameplay Mechanics
Players use the arrow keys to move around and block incoming soccer balls.
The game ends when the player's hearts reach zero, at which point the final score is displayed.
A loss triggers a cutscene.
Players can press the space bar to attempt the game again.
Code and Logic Structure
The goalie's code manages the initial space bar input and heart reduction logic.
The soccer ball logic controls the movement of the balls toward the goal.
A referee function dictates when the game displays "goal" or "no goal".
The project contains specific logic for cutscenes that trigger upon losing.
Advanced features include a skip button for cutscenes and extensions designed to time speech bubbles.