rs2048
rs2048 copied to clipboard
2048 in Rust
Create a rudimentary CI/CD pipeline. Steps to include: * Build the WASM version of rs2048 * Deploy the new version of the demo when merging with master
While installing `rs2048` on my new system today, I've noticed that it does take a number of undocumented steps to even get started working on this. In particular: Installing `cargo...
Testing for GUI code with randomization is hard, but some basic unit tests for the other functions would give more confidence that all is well. See issue #10 for where...
Currently, the best score is only stored when the player manually resets the game by pressing 'R'. To avoid data loss, we also store the best score when the browser...
Multiplayer support in 2048?! Damn right! Here's the elevator pitch: Two players play 2048, with the usual rules, on their own board while observing the opponent's board. Whenever a player...
I discovered that the arrow keys on my iPad Pro's smart cover keyboard don't work (neither in the current version of Safari nor Chrome). Since resetting the board with 'R'...
Good job, unfortiunately I can't try it out, since I am using my tablet. As a modern web APP, consider using a mobile first approach, i.e. enabling mobile input and...
The code as it stands has some comments, but a thorough commenting would make it more educational. Probably best to use `rustdoc`-style comments for top-level stuff: you can get them...
Using machine learning, add an autoplay function.
At the start of the game, let the player decide whether he wants to enable an optional undo feature and implement this.