A web game: EatKun
Latest version: 0.2.1
简体中文 | 繁體中文 | Github | Wiki | Play | Latest Build | Releases
A simple ranking list (day/week/month) is provided.
You can delete all the sql/php files if you don't need them.
- MySQL 5+
- PHP 5+
This game has no association with 蔡徐坤 or his management team and is for entertainment purposes only.
The content of static/image and static/music comes from the 爱给网. If there is infringement, it can be found in Issues Contact to delete and attach the 'delete' tag.
Note: if you just want to play it, go to online version. Here is how to create your own version.
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.
-
Fork this repository. DON'T CHANGE DIRECTLY IN THIS PROJECT.
-
Open the repo you forked. Go to
static/i18n/en.jsonand find these texts below:{ "game-title": "New concept audio game", "game-intro1": "Start at the bottom and", "game-intro2": "see how many points you can get", "game-intro3": "OK!", "game-intro4": "KUN does not leave one! ", "text-level-1": "Try to practice well for two and a half years?", "text-level-2": "Not yet to the level of KUN!", "text-level-3": "Soon to surpass KUN!", "text-level-4": "You should have been practicing for 2.5 years!", "text-level-5": "KUN: Another love KUN has joined our Litchi Group!", }You can change the text on the right side. Note that don't remove quotes(i.e.
") -
Go to directory
static/image. The image shown before clicking isClickBefore.png, after isClickAfter.png, and the icon displayed on the website isProgressiveWebApps.png(ratio must be 1:1).The file type must be png
-
Go to directory
static/music. The sound played when tapping istap.mp3, when ending without errors isend.mp3, while ending with errors iserr.mp3.The file type must be mp3
-
After changing all resources to your own, go to repository
Settings->Pages->Source, choosemainbranch and clickSave.
Follow these few steps to configure the database for ranking list on your server.
-
Create your own database and execute the script provided(e.g. use
kunas database name):CREATE DATABASE kun DEFAULT CHARSET=utf8; USE kun; SOURCE kun.sql;
-
Change the code in
conn.php, which contains your database info, and its content is here:<?php // Change this to your own configuration $link = new mysqli('localhost','NAME','PASSWORD','kun'); mysqli_set_charset($link, 'utf8'); if ($link->connect_error) { die("Failed to connect: " . $conn->connect_error); } $ranking = "kun_rank";
-
EatKano (Website GitHub License: MIT license)
-
EatCat (GitHub License: Unknown)
-
EatCat (GitHub License: Apache License 2.0)
-
Bootstrap 5.1.3 (Website GitHub License: MIT license)
-
SoundJS 1.0.2 (Website GitHub License: MIT license)
This project is authorized by MIT License. When using this project, please indicate the source/original author.
README.md / README_EN.md and this Wiki of this project are authorized to use Creative Commons Attribution 4.0 International Public License. When using these texts, please indicate the source.
