Sunday, June 25, 2017

geometry - Can you solve those laser puzzles? (puzzles created by the community)



So, I was bored and I made a small game for this site! In this game the user who solves the previous puzzle gets to create the next one and they will always be more complex. Website link and string down below!


How it works:



  • You paste in the current puzzle string in the input box and press reset just to be sure. This will setup the game and place "invisible" mirrors on the board of which there are 8 types.

  • You shoot lasers with a click on one of the small boxes on the side of the board the green color tells you where the laser shot came from and blue tells you where it exited. If there is only a blue box and no green box then it means that the laser entered and exited in the same box.


  • You place the mirrors with first clicking on one and then clicking on a square on the board, to delete a mirror click on it again or overwrite it with another


  • The 8 mirrors are:



    • Vertical and horizontal reflection mirrors (worth 1 point). As a example, let's take the horizontal mirror. If the laser comes from above or below it gets reflected back in the opposite direction. If it comes from left or right it passes through the mirror.

    • 45° degree mirrors (worth 3 points). I think this is pretty self explanatory as to what happens.

    • Rotating vertical and horizontal mirrors (worth 5 points). These behave the same way as their standard counterparts with the added ability that when they get hit they turn into their opposite. So if the laser comes from above at a horizontal rotating mirror it gets bounced back up and the mirror now becomes a vertical one, which then again turns into a horizontal one if it gets hit again etc etc. The rotation occurs also if the laser passes through.

    • Rotating 45° degree mirrors (worth 7 points). These are the same as the standard 45° mirrors with the rotation ability





  • Your goal in this game is to figure out at which position what mirror is under. You got some things to help you with this:



    • The first is the point counter which shows what the total sum of points of all mirrors on the board, so if there is only 8 avaliable points and you are sure that there is one rotating 45° mirror somewhere, then that only leaves 1 point left for one basic mirror.

    • The second is the number of trys, this is a counter which tells you how many times you send a laser through from any position since innitializing the board

    • And the last thing is a counter which tells you how many squares the laser has traveled in the current shot.



  • The reset button resets the board to its initial state, this doesnt delete the mirrors you placed on the board but just puts the "invisible" mirrors back in their starting position



Some additional things to consider:



  • The outer layer of the board can't have mirrors in them

  • You need to find out the initial state of the board so if there is only one rotating mirror on the board and you hit it once with the laser the correct solution will still be to place the initial position of the rotating mirror on the board.


When you get the correct solution to the puzzle a message will inform you of your victory and then you will be able to create the next puzzle where you will be able to place a total points of mirror worth $n+2$, where $n$ is the previous puzzle's maximum points. The first puzzle posted by me will have 3 maximum points, so the next will have 5, then 7 etc (Scoring is now different in the new version). To create a new puzzle you simply place mirrors on the board. When you place exactly $n+2$ points worth of mirrors you get the next puzzle string. When you are creating a new puzzle you will also be able to see the actual laser traveling, and if the laser travels over a box multiple times the color will get darker.


You should also probably sort this thread after date to see the latest puzzle. The next valid puzzle in the chain will be earliest one with the correct solution to the previous one. The last thing I want to impose is the correct format of a valid answer. Edit: check out the current answers!


Version 1 (use this version for level 1 to level 4): https://preview.c9.io/vajura/blackbox/ver1/index.html


Version 2 (use this for level 5 and on, in this version mirrors cost more and the difficulty only increments for 1 point as a bonus the puzzle strings are 100 times smaller) https://preview.c9.io/vajura/blackbox/ver2/index.html


Level 5 is not yet updated so if you want to solve it use Version 1, if you solve Level 5 in the old version before Josh update his puzzle to the new version you are free to create the Level 6 puzzle from this link(just start placing mirrors the points will update and when you placed a total worth of 13 the new puzzle string will be shown) https://preview.c9.io/vajura/blackbox/ver2.1/index.html



Level 1, made by OP



rn3VJa3YMDO55uue6CYbeRe1furuO4K/h11E3ucxaEG5IpWwOMxBEvJWw+xXz5yiyS/Oyvqvg/q3MXsT4abL2oMRF+7mJHqWJHSSpUL7Eyl+CyFP6jy0IF6u6LpW2ZGsOcsQXMOKeUBHKpImQmZM2742Y1s2VfWcboVdZ7bBuMTrtRKNwAsCV0RwaSOFm17ayPmhL1sNkT6QR7RmL2KygC6BULJmzalk6ZgOx9sS4WunLHGpk3gnQzE8qNyzvGsQck/dlIzBp/vAm2pncE6Q/ZLUmNgqDd+fxTiNFg/gx861mwNPAK6QyMmH90Ut+AHUgMx234c5FHKTVXVPbqK55zgPzmPhOYBN4K8WVqeH9BC/DOnfQTPtDe+oBb8zSSJi7iBaoZd7IG7hpVlsfGd5hHEq5bQTIrooAYlCv8AS4/gc42nQRQcB2gBKGLKbx8SrYCGwNNv99oR23sE0th8YBlSckhDobAbAcVY9b9aRfvKkTuhkJV7ShM3yxX7gn9mtjhuqVvq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Y/VKHtCQItnNu+J8lpJr6naTe/PPb8/OXGd1UqtQdoVmT94+lxirbNwstxm3Yfk8+ZVAGvT/600jevnh5mgmOVw09rjtzLMUQCfRbZohEGaWtFmRb6IyvFwkp0GVF92JkB5m3U8yVmGAqOYTfnZ5K0b7NWOCz1W047dmAmn9iHKEh7jju+ESQu6vcu79xLn29/8aIb9LCT/URmhVwGXCRhkfE7vwSq0uxz3t4ec45Xqeku861ue853N1w8XshFCmjTBybqVtrXkERToY2xugXhUhpZhETPftFqp9q7gmKgdIiYoHtpfUibcOdrLVJDVHbMiIUDtPv0bPmoPCulIcmu3W79JIMCDfHuLGzjP1MWir/zCJwWqwTCK7IMW7PKPdngg5SjUMNVSzOeju1mWwJ1pduyuBC0CembMS2mdQDwTVwwQr99XFfuvnm7V7Hf/xbq1D6mdZIIuvcLM1oi95PUehCkhtGFpEYbA1bjmg7aitYL5Y9NM9iyKVA4L+JhmpzOYLRU2qXL+8Szz6ZY

Level 4.5, puzzle made by COTO (but originally numbered "level 4" by accident)



u0S6f3vkLrci2hA9fY4sPEZkMfdZsq7/cjNoy0wL3S7utpfX8rsX6B6/GYBxMtn6GuSBXXQIUCsnOrYze7KGtxgS0ywnQlptbvqfryNGYDep0LFk/Ij/iRTocU3GwEME82Z0RA7cC5KH1d/wNM7jMWPC7wqjNk44u+oziAra+FMIDkFwKjtVNIFBnEKACHB0z4gKzcgSmtFV6ziXjzk51Ukvfjc4g1bFapNIWvos6q1ARkkw44nNuxXUnmus/QB8jhN32SiuyhQkzYBiNO02TBTS+B43M7zJHL95iFgTuF326VLkA79QMwKbpfEONv/xFeL3+Ck3jDvc2YjtknOv7aDGc2kgcsQkmiXEOBcVzkQjQDCKEa4p+z+ZHhHJy83uOEu8Iwnp7+h427pvXGZn9UYZv2gl0V0MxYTwx6OLv3rZf/3Whdrv29uGtjOy01z537QuRk0XXytECq2zOfmO6JD7NaJZTM2VL9qshizSmQ/b//yWugJl2Ojadsxc43BvNaSAi6gyIwJudYP8Fy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So5pOMz+ISpgG8MYVaP5feXsOWxFeFYK07l/kxTVzFhIVClKLRRqu6wzNMSfJlQ/6ib75jnGNxddE9LtbVbxfX8bbcc1/+OFSeF5Gz2LFQQdhGqyFN2kOzav8XwTL19eyHconOFxHXRPIb4Va2ahRrCG+EsQtl45F3JRSMgTpU4kovk9JUIeFtxYx2aQXgWwKE6gghJn0Rdb177HrZPxAXurIokSaHUw5K4W+e6kJHZwCbtfnjZeyc/y9fTTDfTL7NT91qqhHLuceGVbD0PhfieiaVoN3Ixo0V8b3/r9J0HwYdN1W5ZcNboQGt5vy3dbTFlm7nTS1ex1RClfVs9TNRsOkGVoBg7a2pLoEtD0pH7Km5jEeSLqdSPhx7SHTkHsAuxSFOMgLUE6v6gEgpUeWZye7CkpYjb4G9SCKwuxfkT6q0RsCVOcSBYaNndioK7Uww116r5gY+zI+X/csgCJPFJIu0T5OX0LXeJB7oX/b6lZ0qms7RrdH6U/eVvBVnWoC8zVzBGkqgz+TQ=

As I know many people here are smart and I have not really spent any time on making this secure. I don't doubt that someone will decode the puzzle strings or crack the whole thing if they want too.



Also sorry for any bugs!


BONUS: Crack the code used! Achieved



Answer



For the people who want to crack it by using code (and to get my bonus points):



The OP used Tea crypt with the password "vaj123":



so



s2 = Tea.decrypt(inputS, "vaj123"); decrypts the string (in inputS) into a map of values which it saves in s2. The first value has to be discarded, the rest of the values are used to make up a 20 by 20 grid. -1 is nothing placed, and 0-7 are the diffirent mirrors used.

You can execute the above command in the browser's console on the Black Box page.



And if you want the reverse-engineerd stuff:



Full code of the generation of the puzzle can be found here: http://jsbin.com/civuvetezi/1/watch?js,output



Yes I know, I am a party pooper.


Good luck!


No comments:

Post a Comment

classical mechanics - Moment of a force about a given axis (Torque) - Scalar or vectorial?

I am studying Statics and saw that: The moment of a force about a given axis (or Torque) is defined by the equation: $M_X = (\vec r \times \...