The game's technical stack includes Flutter Web, Flame Game Engine, Nostr protocol (NIP:04) package, and LNBits API, all of which combine to create an engaging and exciting gameplay experience.
MainPage Screen | PayInvoice Screen |
---|---|
CreateRoom Screen | Keys showDialog |
---|---|
JoinRoom Screen | Game Screen |
---|---|
Player Lost showDialog | WithdrawSats Screen |
---|---|
- Clone the repo
- Run
cd nostrawars
- Run
flutter pub get
- Create a new folder in root as
.env
and add the following content into it:
lnbits-invoice-key=<your_lnbits_invoice_key_here>
lnbits-admin-key=<your_lnbits_admin_key_here>
lnbits-base-url=https://legend.lnbits.com/api/v1
lnbits-withdraw-base-url=https://legend.lnbits.com/withdraw/api/v1
- Paste your appropriate keys in the
.env
file removing the angle branckets (<>)
- Run
flutter pub run build_runner build —delete-conflicting-outputs
- Run the project for web!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request.