Skip to content

Marcela-Rocha-Martins/project-game-catXmachine

Repository files navigation

Cat X Machine Game

Cat X Machine is a simple web-based game where you control a cat character and try to avoid machines while collecting snacks to gain lives. Use the keyboard to control the cat's jump and crouch movements.

How to Play

  • Press ARROW UP or SPACE to make the cat jump.
  • Press ARROW DOWN to make the cat crouch.
  • Avoid the machines and obstacles.
  • Collect snacks to gain lives.

System Requirements

Cat X Machine Game is a browser-based game and requires the following:

A web browser (e.g., Google Chrome, Mozilla Firefox, Safari) Stable internet connection Unfortunately, it isn't mobile friendly (yet)

Usage

Open your favorite web browser. Visit the game URL [https://marcela-rocha-martins.github.io/project-game-catXmachine/]. Follow the on-screen instructions to play the game.

Technologies Used

The game utilizes HTML, CSS, and JavaScript. The following scripts are included:

  • items.js: Contains the logic for game items and their behavior.
  • kitten.js: Defines the Kitten class responsible for the cat character's actions.
  • bg-playfield.js: Manages the background and playfield of the game.
  • gameplay.js: Handles the overall gameplay, including score tracking and game over conditions.
  • index.js: The main entry point of the game.

External library: FontAwesome is included for additional icons.

Author

Created and developed by Marcela Rocha.

License

All rights reserved.

Contributing

If you would like to contribute to this project, you can follow these steps:

  • Fork the repository.
  • Make the necessary code changes
  • Commit and push your changes to your forked repository.
  • Open a pull request, describing your changes in detail.

Please ensure that your contributions align with the project's coding style and guidelines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published