Playing is half the fun; the other half is learning to code by adding to our wide array of achievements and submitting a pull request!
To play: https://acenturyandabit.github.io/fortknight
Try and beat my high score of 50! Then, pick a TODO item from the issues page to make a pull request for!
While this repository is designed to be easyish to contribute to, it is not as easy as other pull-request-tutorials. You'll need to be able to write functional code in JS!
If you're looking for generic things to contribute to, you can try the below, and come back when you're more ready:
To get started on this project, simply fork this repository and clone it to your local device.
To add a game mode:
To add an achievement:
You can easily test your changes locally by running index.html in a browser.
To enable optional debugging features and to view extended information on scores and achievements, you can add ?p=debug
to the end of the URL of your index.html.
To reset your high scores or achievements unlocked, you'll need to clear your browser's cache (which the debug mode provides a button for) or run the game in an incognito tab.
If you want to be added to the project as a maintainer and help me merge pull requests, please drop a comment on issue #49 :D
./images/compile_imgs.js
: run in this directory to preload svgs into the html file.
credits to wikimedia commons for chess pieces and SVG Repo for the arrows