Skip to content

Color Lines (a.k.a. WinLines) game for Delta Chat. Move the orbs around to make five or more of a color in a line (also diagonals)

License

Notifications You must be signed in to change notification settings

DeltaZen/webxdc-color-lines

 
 

Repository files navigation

Color Lines

Color Lines (a.k.a. WinLines or WinLinez) game to compete with friends in Webxdc-capable apps.

Contributing

Installing Dependencies

After cloning this repo, install dependecies:

pnpm i

Checking code format

pnpm check

Testing the app in the browser

To test your work in your browser (with hot reloading!) while developing:

pnpm start
# Alternatively to test in a more advanced WebXDC emulator:
pnpm emulator

Building

To package the WebXDC file:

pnpm build

To package the WebXDC with developer tools inside to debug in Delta Chat, set the NODE_ENV environment variable to "debug":

NODE_ENV=debug pnpm build

The resulting optimized .xdc file is saved in dist-xdc/ folder.

Releasing

To automatically build and create a new GitHub release with the .xdc file:

git tag -a v1.0.1
git push origin v1.0.1

Credits

Based on https://github.com/arnisritins/Color-Lines

Sound effect generated with http://www.drpetter.se/project_sfxr.html

About

Color Lines (a.k.a. WinLines) game for Delta Chat. Move the orbs around to make five or more of a color in a line (also diagonals)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.2%
  • CSS 26.5%
  • HTML 1.3%