Create

This code is over 6 months old. The code may have expired and might no longer function.

A minesweeper in Overwatch. Great for waiting in dps queue and can be played by multiple people at the same time.

That's it. Enjoy losing.

UPDATE: So the mod is now feature-complete in my eyes, so I'm done with it's development and there probably won't be any updates from me. UNLESS somebody discovers a bug or requests a feature. If you find a bug, please record it or give me exact steps to reproduce bug.

FOR DEVELOPERS ONLY:In addition, I was thinking how to implement larger grid sizes. I would do it myself but honestly, going around the 128 effect limit and forced one-dimensional arrays is frustrating enough for me not to do it. If somebody wants to do it, here's thought process of how you could start:

  • I think there is an array limit of 1000 items, so this could create up to 40x25 fields.
  • Consider player's position and draw 10x10 field bellow the player (0-9 x 0-9).
  • If player moves in a direction, it adds 5 units and draws new 10x10 field (5-14 x 0-9). Repeat until player reaches a border of the 40x25 field. Let player move in any direction.
  • Good luck figuring out how to check if the cell is on a border using one dimensional array. I couldn't so I'm checking for static numbers like in table bellow.
10 9 8 7 6 5 4 3 2 1 0
21 20 19 18 17 16 15 14 13 12 11
32 31 30 29 28 27 26 25 24 23 22
43 42 41 40 39 38 37 36 35 34 33
54 53 52 51 50 49 48 47 46 45 44
65 64 63 62 61 60 59 58 57 56 55
76 75 74 73 72 71 70 69 68 67 66
87 86 85 84 83 82 81 80 79 78 77
98 97 96 95 94 93 92 91 90 89 88
109 108 107 106 105 104 103 102 101 100 99
120 119 118 117 116 115 114 113 112 111 110

Overall, it's quite a challenge. So if ur up to it, good luck, have fun, don't die.

Categories: Solo, Minigames, Miscellaneous
Heroes: D.va, Orisa, Reinhardt, Roadhog, Sigma, and 27 more...
Created at:
Last updated:
Current version: 1.1.

Snippet

Loading...

Users Also Like

Similar Codes

Join the Workshop.codes Discord