=== Customizable Konami Code ===
Contributors: phalkmin
Tags: blog, konami, fun
Requires at least: 5.8
Tested up to: 6.7
Stable tag: 2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

# Customizable Konami Code for WordPress

Add the classic Konami Code Easter egg to your WordPress site with customizable actions and patterns.

## Description

This plugin adds the classic Konami Code functionality to your WordPress site. When users enter the Konami Code (Up, Up, Down, Down, Left, Right, Left, Right, B, A) on your site, one of the following actions can happen:

- Display a custom alert message
- Redirect to a URL of your choice
- Add a "bacon" overlay to your site (because why not?)

You can also customize the key sequence to trigger the action.

## Features

- Easy setup through WordPress admin interface
- Mobile support with touch gestures
- Three different action types: alert message, page redirect, or "bacon" overlay
- Customizable key sequence
- Fully internationalized
- Compatible with WordPress 5.0+ and PHP 7.4+/8.2+

## Installation

1. Upload the `konami-code` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Configure the plugin settings under Settings > Konami Code

## Frequently Asked Questions

### What is the Konami Code?

The Konami Code is a cheat code that appears in many Konami video games, and subsequently in popular culture. The code is: Up, Up, Down, Down, Left, Right, Left, Right, B, A.

### Can I customize the key sequence?

Yes! You can define your own custom key sequence in the plugin settings.

### Does this plugin slow down my site?

No, the plugin loads its JavaScript in the footer with minimal overhead.

## Changelog

### 2.0
* Major update with modern WordPress standards
* Updated to work with PHP 7.4+/8.2+
* Improved settings page using WordPress Settings API
* Added proper internationalization support
* Updated JavaScript library with touch support

### 1.0
* Initial release by GraveHeart

## Credits

* Original plugin by GraveHeart
* Uses Konami-JS library by George Mandis

## License

This plugin is licensed under the GPL v2 or later.
