?

Log in

No account? Create an account
Game idea - Reality NOS [entries|archive|friends|userinfo]
Ben

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Game idea [Aug. 24th, 2003|03:57 pm]
Ben
Combine sokoban and snake. So you start off with a field with one block, and one goal square. Whenever you get all the current blocks on the current goal squares, they dissappear, your snake grows a bit, and a new set randomly appears, with one more block and goal than the last. Trying to push a block against something would kill you, like ramming into a wall in snake, likewise for pushing a block into oneself.

Hmmm.
LinkReply

Comments:
[User Picture]From: antisynthesis
2003-08-26 10:14 pm (UTC)
Aha, good job. Two suggestions, if you plan on doing any future changes. One, that the blocks not appear on the edges, since those are almost ungettable unless a hole happens to be on that edge as well. Two, that there be some kill button so you don't have to reload the page if the snake gets stuck behind its tail and wall and whatnot. But it's an entertaining and amusing game, as I thought it would be. I'll definitely have to learn processing soon if it can be used to make amusing colored block games like that, let alone various visual toys ala zombies or beach.
(Reply) (Parent) (Thread)
[User Picture]From: kevandotorg
2003-08-27 08:52 am (UTC)
Mm. First suggestion is fairly easy to implement - just replace "if (square[rx][ry] == 0)" with "if (square[rx][ry] == 0 && square[rx-1][ry-1] == 0 && square[rx][ry-1] == 0 && ...)" in the addBlock function, so that it only puts stuff in empty squares whose neighbours are also all empty.

And the second is even easier - I think you can just call "setup()" when your reset key of choice is pressed.

But yes, download Proce55ing and have a play around with it. The best way to learn is probably to start with something simple and comprehensible like Snakoban, and to try and add new features to it; hassle me online if you want some suggestions as to things you should be able to work out how to do simply by changing a couple of lines, or advice on how to do stuff you aren't sure how to approach. It'd be good to see you producing Java toys.
(Reply) (Parent) (Thread)