🃏 Hokm (Court Piece)
![]() |
![]() |
![]() |
---|
To build this game, you need to install & use bun.js.
It isn't intended to be executable directly by bun.js, but it's better to install packages using bun because of the bun.lockb
file which contains all exact versions of packages that should be installed. So...
Install npm packages using bun.js:
bun install
Build the app using vite:
bun run build
Then you can serve game files using any http server; for example:
bunx serve ./dist/
# Files will usually be served on port 3000
Now with the example command above you should be able to run the game in your browser by visiting http://localhost:3000
address.
For having a better user interface, it's better to play the game in a portrait screen.
To develop & debug this game using tools like react HMR and fast refresh, it's better to run it using this command:
bun run dev
and develop it on a browser before building and running it on Android or iOS (using Capacitor.js).
To run this game project on a virtual or physical android device, refer to this documentation for more detailed information.