/Game

Game development

Primary LanguageJavaScript

HTML Game: Boy Runner

This HTML game allows players to control a character and avoid obstacles while running.

Features

  • Player can control the character to run and jump.
  • Score is incremented as the player progresses.
  • Obstacles (flames) are generated randomly to increase difficulty.
  • Game over when the character collides with an obstacle.
  • Winning condition when the character reaches a certain point.

How to Play

  • Press Enter to start the game.
  • Use the Space key to make the character jump over obstacles.
  • Avoid hitting the flames to keep the game going.
  • Reach the end to win the game.

Controls

  • Enter: Start the game and run.
  • Space: Jump over obstacles.

Requirements

  • Web browser to run the HTML file.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/yourrepository.git
    

Screenshots

alt text alt text alt text alt text