Poptris (Tetris variant)

6

was8bit 2025-03-25 13:24 (Edited)

TO PLAY: drag and drop any one piece anywhere onto board (no spin nor flip)
TO SCORE: all blocks orthogonally 8-in-a-row score and get removed

Buttons...
(ARROWS) simply adjust where the spinners are put
QUIT: discard current game, start a new game
HELP: get all new pieces to play with
SAVE: save current game point, auto loads point when you quit and replay
UNDO: if you dont like how you played a piece, this will undo that play

SPINNERS reorient pieces to be played, cost 5 points

Numbers at top....
Current game score
Moves this session
HIGHSCORE

Get extra bonus points for scoring more than one stack per play
HELP costs 25 points at start. When score>250 then cost = 1/10 of score

Poptris 063.nx | Open in app
2025-06-02 03:38
Poptris 063.nx | Open in app
2025-06-02 03:34
Poptris 063.nx | Open in app
2025-06-02 03:33
Poptris 062.nx | Open in app
2025-05-31 20:45
Poptris 061.nx | Open in app
2025-05-31 20:42
Poptris 056.nx | Open in app
2025-05-30 04:22
Poptris 055.nx | Open in app
2025-05-29 15:28
Poptris 054.nx | Open in app
2025-05-29 15:18
Poptris 053.nx | Open in app
2025-05-28 15:43
Poptris 050.nx | Open in app
2025-04-13 23:12
Poptris 040.nx | Open in app
2025-04-03 04:28
Poptris 030.nx | Open in app
2025-03-27 00:32
Poptris 026.nx | Open in app
2025-03-26 20:53
Poptris 025.nx | Open in app
2025-03-26 16:49
Poptris 024.nx | Open in app
2025-03-26 00:29
Poptris 023.nx | Open in app
2025-03-25 23:25
Poptris 022.nx | Open in app
2025-03-25 16:49
Poptris 021.nx | Open in app
2025-03-25 16:37
Poptris 020.nx | Open in app
2025-03-25 15:43
Poptris 0.1.nx | Open in app
2025-03-25 13:24

was8bit 2025-03-26 20:54

There may still be a bug where QUIT or HELP get moved.... let me know if this happens ... (i "think" i fixed that bug)


was8bit 2025-03-26 20:59 (Edited)

See if you can beat my highscore 1301 :)


was8bit 2025-03-27 00:36

If anyone wants it, i can add a "SAVE" so you can save current gameboard, exit, then reload the saved gameboard and continue playing...

If u would like that, i would be happy to add it :)


Dan 2025-03-31 21:12

Yes please, i'm playing this around 10h now on the web(with breaks), a save would be helpfull.


was8bit 2025-04-01 04:00

Cool.. will be the very next thing I do :)


was8bit 2025-04-02 11:16 (Edited)

... working on it now...

... i will also be adding "PLAYS" variable, which will track how many "moves" you have made. Using "HELP" will count as a move... it will be shown below the other #'s...

I am rearranging how i save... the state will be captured on screen, and reloading the number variables will be done by reading them off the save screen and reloadig them by reconstructing them ;)


Dan 2025-04-11 20:45

The saving of the game works fine.

Yes, a 1 step undo would be really useful !


was8bit 2025-04-12 16:02

Cool :)

Ok... a one undo will be the next thing i do :)


was8bit 2025-04-13 23:14

Verify before play was easier to code rather than undoing ...

... a nice benefit is that you can place and test planning the next piece, and you can still undo if you discover a better play :)


was8bit 2025-04-13 23:30 (Edited)

So, when you play a piece, it asks if it is OK to PLAY (checkmark) or undo (X)

Once you hit the CHECKMARK, you cannot take it back... play is permament

There is no timer, you may spend as much time as you want thinking about your choice ...

undo (X) will return the piece back, you can replay same piece or choose a new piece

You may play and undo as much as you want :)


Dan 2025-04-15 00:44 (Edited)

Hmm, it is not the same.

I would do the undo differently. After the piece is checked for the validity, but just before it is drawn on the board, it is there, where i would store the undo information.
One array for the tools, and one array for the grid, score etc etc.

And when the undo button is pressed, the state is restored from these undo-arrays.
In a way - it would be similar to the save function, just that it does not store the undo information in the cart.


was8bit 2025-04-15 03:50

... good idea..

Will implement :)


was8bit 2025-05-05 14:22

I havent forgotten... been really busy ...


was8bit 2025-05-28 15:19

... i have started working on the fix... please stand by :)


was8bit 2025-05-28 15:20

... i have started working on the fix... please stand by :)


was8bit 2025-05-28 15:48

V053 just gathers needed info and reworked the save... you now get better feedback that you are playing a saved game, and better feedback that you have saved a current game

Next, to apply my ideas to save the game by request in BG 1 and auto save for undo state in BG 0 ;)


was8bit 2025-05-28 15:49

... please stand by... gotta break away for now...


was8bit 2025-05-29 15:21

V054 fixed an issue, and now QUIT now quits a saved game...


was8bit 2025-05-29 15:29

V055 adds UNDO.... please test :)


Dan 2025-05-29 21:31

I have played it for 10~15 mins, it looks great now !


was8bit 2025-05-29 21:49

Thanky :)

My tired brain could not figure out the different BG pages and how to split the PERSIST memory to save or retrieve a separate BG as a whole

I use an whole background to save, so had to hide one background to auto save for UNDO and the background you see is stored as a whole when SAVE is used…

Once I had a more awake brain, it was an easy fix ;)


was8bit 2025-05-30 04:21 (Edited)

Oopsy .... i am found something as i looked over the code again...

.... Fixed pause when adding a piece... my fault, left debugging code in...

Version 056 removes my debugging code and now gameplay no longer pauses


Dan 2025-06-01 20:38 (Edited)

The game plays nice now.

But i think that the spinners are positioned inside the game field ...

I have moved them a bit away from it:
~~~
'TOGGLE BUTTONS 11 TO 16
SPRITE 11,4.2*8,2.2*8,224
SPRITE 11 SIZE 1
SPRITE 12,4.2*8,7*8,224
SPRITE 12 SIZE 1
SPRITE 13,4.2*8,11.9*8,224
SPRITE 13 SIZE 1
SPRITE 14,13.9*8,2.2*8,224
SPRITE 14 SIZE 1
SPRITE 15,13.9*8,7*8,224
SPRITE 15 SIZE 1
SPRITE 16,13.9*8,11.9*8,224
SPRITE 16 SIZE 1
~~~

Are the Z pieces meant to flip sides when rotated ?


was8bit 2025-06-02 03:32 (Edited)

TY for the repositioning, it looks nice :) i will add a command button that will allow user to adjust for either option, as my big fingers even on a bigger ipad needs my setting ;)

And yes i decided to use all 4 z pieces together ... when adjusting pieces, you may almost pay the same (except for the long piece) ... it would be an easy fix to break them into 2 sets of 2 rather than one set of 4... i will go with your thoughts on which approach would be better :)


was8bit 2025-06-04 17:02 (Edited)

... i am currently working on Tetris Monsters, which will not replace this game, but be a different variation of this game...

It will play the same as this one, but the plain blocks in this game will have 9 pieces that will represent 3 different colored monsters with eyes, noses, and mouths..

A 3x3 block of all one color set will yield bonus scores, the diff monster pieces will just be interesting decoration

... it will require complex rewriting and additional code, so it will be awhile ...


JudgeGroovyman 2025-06-18 03:01

I love it! I got high score of 274 and am proud although it looks like was8bit beat me handily :)


was8bit 2025-06-18 15:13

Thanky :)

.... but i only posted my highest score... only after a TON of testing the game ;)


Log in to reply.