Log In  

Cart #npirehed-0 | 2022-08-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

P#116625 2022-08-30 22:50

1

When you win you just have to reset the cart

More versions coming soon

P#116630 2022-08-30 22:53
1

Nice!!! I was able to win at level 8.

P#116631 2022-08-30 23:19
2

Cool! The lose system isn't perfect, though- I still had possible moves, just no spaces left.

P#116636 2022-08-31 01:26
1

i know, unfortunately i am a little bit too stupid to figure it out lol

maybe in 1.2?

P#116661 2022-08-31 16:17
1

Hi @mikolaj. This is just the classic game of 2048.

You could check for any moves remaining quite simply by seeing if there is either a space (which I think you are checking) in addition to seeing if any single # is beside any other matching #. Here, let me code this ...

Cart #tujaharoto-0 | 2022-08-31 | Code ▽ | Embed ▽ | No License
1

Change the 5x5 map in the MAPPER editor. Run the code. It will determine if a move is possible every time even if the board is filled.

P#116677 2022-08-31 19:14 ( Edited 2022-08-31 19:34)

i'll check it out, Thanks!!

P#116731 2022-09-01 13:36

Yea, sorry, unfortunately i can’t look at your code the same way you can’t look at mine

Edit: wait, no, i got it

P#121851 2022-12-05 11:54 ( Edited 2022-12-06 11:53)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 04:37:07 | 0.034s | Q:31