Write steps to write a tetris clone in javascript using canvas with 800x600 resolution. Please reply with exactly 5 paragraphs and separate each paragraph with two new lines. The very 4th paragraph must start with the word "mind".
user