| wtd - May-21-2005 server time |
| The drawing a new board each time thing is standard behavior for a text-based console. There are graphics modules for Haskell, but you're best off wrapping your mind around basic concepts first. |
| windyzz - May-20-2005 server time |
| umm sorry the website is not detail is in the left hand side where under work and in the link assign2 thx |
| windyzz - May-20-2005 server time |
| Thx the Tetris Game is basically look like this For a new game : ------------ |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| ------------ then another board with a piece Insert T ------------ |.T........| |TTT.......| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| |..........| ------------ SO everytime a piece move it actually creaate a new board that replace it and the piece also cannot move down byitself, for more detail requirement here is the website www.cse.unsw.edu.au/~cs1011 thx for ur help |
| wtd - May-19-2005 server time | ||
There really would seem to be three functions you have to worry about.
Unfortunately none of the types involved, as far as I can see, actually keeps track of the last piece added to the board, so it would be impossible, as far as I can see, to determine the "activePiece" based on that information. The game's board hould be, in my estimation, be purely a list of strings, but rather a grid of boolean values. True and the space is filled. False and it's open. The active piece should be kept track of as a piece, not just data about it's location. |
| windyzz - May-19-2005 server time | ||||||||
| hey iam new in here, iam currently making tetris for my assignment in uni using haskell. here is the program code: tetrisType:
TetrisPiece:
TEtrisGame :
Game :
it consist of 4 module that called tetrisgame, tetristype, game, tetris piece , all i have to do is to implement the function that is commented " not implemented". can any1 give me a solution and a hint how to create. i have try for 2 week straight but i got no solution |