MCPcopy
hub / github.com/arcxingye/EatKano

github.com/arcxingye/EatKano @main sqlite

repository ↗ · DeepWiki ↗
36 symbols 86 edges 1 files 0 documented · 0%
README

EatKano

EatKano

🦌 Web Game 🥛

Introduction

A web game: EatKano

Kano's Twitter | Online Version | Github Pages

Features

A simple ranking list(day/week/month) is provided.

You can delete all the sql/php files if you don't need them.

Requirements

  • MySQL 5+
  • PHP 5+

Usage

Note: if you just want to play it, go to online version. Here is how to create your own version.

Github Pages

You can run it on Github Pages if you don't need the ranking list.

Follow these steps to change the text displayed to what you want.

  1. Fork this repository. DON'T CHANGE DIRECTLY IN THIS PROJECT.

  2. Open the repo you forked. Go to static/i18n/en.json and find these texts below

json { "game-title": "Eat Kano", "game-intro1": "Start from the bottom", "game-intro2": "Can you tap 150 times?", "text-level-1": "Try again?", "text-level-2": "Not bad", "text-level-3": "Nice", "text-level-4": "Awesome", "text-level-5": "R U kidding?" }

You can change the text on the right side. Note that don't remove quotes(i.e. ")

  1. Go to directory static/image. The image shown before clicking is ClickBefore.png, and after is ClickAfter.png.

The file type must be png

  1. Go to directory static/music. The sound played when tapping is tap.mp3, when ending without errors is end.mp3, while ending with errors is err.mp3.

The file type must be mp3

  1. After changing all resources to your own, go to repository Settings -> Pages -> Source, choose main branch and click Save.

Deploying to Server

Follow these few steps to configure the database for ranking list on your server.

  1. Create your own database and execute the script provided(e.g. use kano as database name).

sql CREATE DATABASE kano DEFAULT CHARSET=utf8; USE kano; SOURCE kano.sql;

  1. Change the code in conn.php, which contains your database info, and its content is here.

```php connect_error) { die("Failed to connect: " . $conn->connect_error); } $ranking = "kano_rank"; ``` ## Others Please star us~ Welcome to pull request! ?>

Core symbols most depended-on inside this repo

cookie
called by 21
static/index.js
updatePanel
called by 6
static/index.js
gameRestart
called by 4
static/index.js
refreshGameLayer
called by 3
static/index.js
modeToString
called by 2
static/index.js
countBlockSize
called by 2
static/index.js
getCPS
called by 2
static/index.js
gameOver
called by 2
static/index.js

Shape

Function 36

Languages

TypeScript100%

Modules by API surface

static/index.js36 symbols

For agents

$ claude mcp add EatKano \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact