Pipe Dream (Pipe Mania) is 1 of my favourite puzzle game that I played during the DOS game era. In this game, purpose instrumentalist accept to laid upward a path from the starting piping for the ongoing water, which volition begins to level afterward a brusque delay time. I am ever involvement amongst its game logic together with mechanic. So, I pass unopen to fourth dimension to redevelop purpose of this game amongst Flash AS3 inwards 2012.
Using a multifariousness of piping pieces presented randomly inwards a queue, the purpose instrumentalist must laid upward a path from the starting fourth dimension slice for the onrushing sewer slime, or "flooz", which begins flowing afterward a fourth dimension delay from the starting fourth dimension of the round.
Gameplay Programming
To code this game, nosotros tin listing downwards all the tiles (pipes) together with rank their opening side amongst 1(true) together with closing side amongst 0 (false). This value volition signal whether an incoming H2O tin menstruum into this tile, together with which administration the H2O volition endure leaving.
In this master copy DOS game, at that topographic point are every bit good 1 administration pipes. To code those pipes, nosotros volition require to include unopen to other layer of status checking.
Play The Game
You tin play the 1989 MSDOS version of Pipedream at
archive.org In the master copy game, purpose instrumentalist volition require to accomplish a certainly "distance" target to win a round. In my version, y'all simply require to connect the starting piping to ending piping to win. You tin play "
Pipe Dream Flash Game" inwards my deviantart.
Reference
Pipedream Wikipedia Pipedream Archive.org Pipedream Flash Game Deviantart