Skip to content

hvihvi/set-with-friends-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

set-with-friends-solver

Solves the Set game, copy paste dist/main.js script in console to win at https://setwithfriends.com

Setup:

yarn install

Build the output:

yarn build

Retrieve the script built in dist/main.js

TODO

Implement src/solve.ts's solve function. It takes a list of cards as input, and outputs 3 cards. These 3 cards are from the input, and each of their criteira (color/shape/number/motif) should be either equal or all distinct. Rules available here: https://setwithfriends.com/help

Stack

  • TS
  • Jest
  • Prettier
  • Webpack

The command yarn build first compiles all ts files to js in ./build, then webpack reads ./build/index.js to build the final "single file" script dist/main.js.

About

Solves the set game, copy paste in console to win at setwithfriends.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors