Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+2)

Oh, sorry. I thought they were the .py (Python) files. They are, in fact, .js (JavaScript) ones. To run them you need to install Node.js OR use an online javascript compiler.
 


Both files work for SOME puzzles, not every single one. If you have basic programming knowledge, you can edit the 5pegs one to fit every puzzle you encounter.

I'll give you hints on what to edit.

1. Edit the puzzle colors array.

2. Edit the rules array. Every item in that array corresponds with a line of boxes.

3. Change the amount of FOR loops so they handle every box in a line (5 boxes = 5 for loops). Just copy one of them and change the name of the index variable. Don't forget the closing brackets.

4. Change the solution array so it handles every box in a line. Copy one of the items and change variables in the square brackets so they correspond to the ones you added in the previous step.

And that's it. Or you can probably just feed a screenshot of the game to some AI model, that'll be easier.

Argonvile forgive me. I know this game is centered around puzzles, but i am myself unable to solve most of them. I'm glad that someone made the repo so i can enjoy "other" :3 aspects of the game.

That's okay, whatever makes the game more fun for you! We have a bot on the discord server who will solve the puzzles for you too.