jNaimXIII / Shiritori

Shiritori (しりとり) is a Japanese word game in which the players are required to say a word which begins with the final kana of the previous word, but this one is in English.
https://shiritori.fun
GNU General Public License v3.0
1 stars 1 forks source link

Create TypeScript configuration for game engine package #11

Closed jNaimXIII closed 1 year ago

jNaimXIII commented 1 year ago

The core game engine doesn't have a proper TypeScript package setup. I've just added the code in #10 but, the package doesn't have a configured tsconfig.json file yet.

jNaimXIII commented 1 year ago

I never understood tsconfig.json so, what I want to do now is have packages/engine be available by any apps/* be it a node application or a browser application. The engine doesn't call any native code and only has classes and methods. So, it should run fine on both runtimes. I just need to find a way to bundle it in a way that both clients can use it.