Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50Projects-HTML-CSS-JavaScript : Dinosar game #33

Merged
merged 10 commits into from
Jul 30, 2024
Merged

Conversation

tajulafreen
Copy link
Owner

This PR introduces the initial implementation of the Dinosaur Game, featuring the following functionalities and elements:

  • Character and Obstacle Rendering: Added a dinosaur character and a moving cactus obstacle using HTML and CSS. Implemented basic animations to simulate jumping and obstacle movement.
  • Game Logic: Developed JavaScript functions to handle character jumping, collision detection, and game reset upon collision.
  • Responsive Design: Ensured the game layout is responsive and maintains proper alignment across different screen sizes.
  • Styling: Applied CSS styles for a retro game aesthetic, including game area, character, and obstacle design.

Changes Made:

  • HTML Structure: Created the basic structure for the game, including containers for the character and obstacles.
  • CSS Animations: Implemented keyframe animations for the character's jump and obstacle movement.
  • JavaScript Logic: Added event listeners for player controls, collision detection logic, and game state management.

@tajulafreen tajulafreen merged commit a3f93e2 into main Jul 30, 2024
5 checks passed
@tajulafreen tajulafreen deleted the Dinosar_Game branch July 30, 2024 21:57
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.

1 participant