Go to file
2018-11-13 07:56:38 +03:00
.github Add an issue template translation 2018-10-14 14:02:50 +03:00
public/src P2: Multiplayer improvements 2018-11-13 07:56:38 +03:00
templates P2: Add multiplayer session 2018-11-02 01:13:48 +03:00
.gitattributes 💥🐫 Added .gitattributes & .gitignore files 2015-07-17 17:21:53 +09:00
.gitignore add game config 2018-10-27 22:42:28 +01:00
app.py use urlparse for preview url joining 2018-11-12 11:34:49 +00:00
config.example.json add assets_baseurl config option 2018-10-28 09:59:49 +00:00
README.md Limit horizontal scaling in sub-titles 2018-11-10 23:52:06 +03:00
server.py P2: Multiplayer improvements 2018-11-13 07:56:38 +03:00

Taiko no Tatsujin Web

A web version of Taiko no Tatsujin

Running instance: https://taiko.bui.pm

Still in developement. Works best with Chrome.

Setup

Requirements: Python 2.7, Flask

Create a SQLite databse named taiko.db with the following schema:

CREATE TABLE "songs" ( `id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, `title` TEXT NOT NULL, `title_en` TEXT, `subtitle` TEXT, `subtitle_en` TEXT, `easy` INTEGER, `normal` INTEGER, `hard` INTEGER, `oni` INTEGER, `ura` INTEGER, `enabled` INTEGER NOT NULL, `category` INTEGER, `type` TEXT , `offset` REAL NOT NULL )
CREATE TABLE "categories" ( `id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, `title` TEXT NOT NULL, `title_en` TEXT NOT NULL )

When inserting song rows, leave any difficulty columns as NULL if you don't intend to add notecharts for them.

Each song's data is contained within a directory under public/songs/. For example:

└───public
    ├───songs
    │   ├───1
    │   │       bg.png
    │   │       easy.osu
    │   │       hard.osu
    │   │       main.mp3
    │   │       normal.osu
    │   │       oni.osu
    │   │

Run app.py, and use any web server to serve public/ as the root directory, while routing /api/ to the Flask server.