Skip to content

Add running game project#9

Merged
irfanshadikrishad merged 3 commits intoirfanshadikrishad:mainfrom
GeorgiaCorreia:running_game
Oct 19, 2025
Merged

Add running game project#9
irfanshadikrishad merged 3 commits intoirfanshadikrishad:mainfrom
GeorgiaCorreia:running_game

Conversation

@GeorgiaCorreia
Copy link
Copy Markdown
Contributor

This project adds a simple running game using HTML, CSS, and JavaScript.
Players can jump over obstacles and score points. The game features basic animations and responsive controls.

Copy link
Copy Markdown
Owner

@irfanshadikrishad irfanshadikrishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the invalid image ob2.jpeg


const obs = document.getElementById('obs');
const obs_image = [
'C:\Users\georg\OneDrive\Desktop\Running game\Running game\Resources\Obstacles\ob2.jpeg',
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line giving invalid image, use it like 'Resources/Obstacles/ob2.jpeg'

Image

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GeorgiaCorreia image url is not fixed yet.

Updated obstacle image path to a relative URL.
@irfanshadikrishad irfanshadikrishad merged commit 7c53ced into irfanshadikrishad:main Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants