Friday, June 20, 2014

Just Another Tetris Clone

Someone sucks at Tetris.
Despite WildStar's critical hit on my free time this past month, I've managed to code a little. Let me introduce both of my blog readers to the buggiest and most poorly coded version of Tetris they've ever seen.

http://geekwagon.net/projects/flipsy/

Don't ask why it's called Flipsy. That was just the name of the
folder when I started and I didn't bother to change it.

I did follow the Tetris guidelines to the best of my coding ability. The obvious things, like piece colors are there. With the exception of the square. One cube on the square red so I could see it was rotate. Less obvious Tetris familiarity is the piece randomness. There are a ton of guidelines I haven't implemented yet.

The primary goal of this project was to increase my familiarity with Phaser.io, an HTML5 game framework. It takes care of the lame part of game crafting, drawing stuff on a canvas, and lets you focus on the look and logic of the game. Their site has a lot of examples to help you. I found most of their examples are for every game type imaginable except a falling block puzzle game. They are none the less helpful at getting concepts across.

This was also a personal experiment with the 10 minute hack.

The idea behind the 10 minute hack is to work on something for 10 minutes every day. The idea is that once you get into a project it is easier to keep going. If you are just not in the mood you can at least say you thought about it for 10 minutes. I am certain, had this stupid WildStar game not come out there would have been less days of only 10 minutes. To be honest there were a couple of days I didn't even get my 10 minutes in. Every day I did do the 10 minute hack I made a note of it in a text file. Like a 10 minute hack daily journal. Most entries were a sentence, but I found the reflection to be useful.

I'd post my 10 minute hack journal, but my biggest mistake was using the hack to work on multiple projects at once. I think in the future, for at least a few weeks at a time, decide which project the 10 minute hack will be used on.

For the future of this project, first thing will be some major refacroting. Then some bug fixing. For example; if you go nuts with the rotate key and left/right arrows at the same time you can split a piece apart. Especially weird stuff can happen at the edge of the screen. After that I'd like to start making some serious changes, like make it more than another Tetris clone.



32 comments:

  1. Love the honesty! Despite Tetris struggles, coding is coding. Your dedication to the 10-minute hack is inspiring. Looking forward to seeing Flipsy evolve. Keep at it
    New Jersey Order of Protection

    ReplyDelete
  2. Anonymous12:42 AM

    The Abbott Elementary Bradley Cooper Varsity Jacket is a stylish and iconic piece inspired by the character from the hit TV show. Featuring classic varsity design elements like contrasting sleeves, ribbed cuffs and hem, and a snap-button front closure, this jacket exudes retro charm with a modern twist. Made from high-quality materials, it offers comfort, durability, and a touch of nostalgia for fans of the series. Perfect for casual wear or showing off your love for Abbott Elementary and Bradley Cooper's character.






    ReplyDelete
  3. It's an inspiring example of how hands-on projects can supplement traditional learning methods, ultimately fostering a deeper understanding of complex topics. And if any student feels overwhelmed, they might be tempted to search for pay someone to do my university assignment to lighten their load.

    ReplyDelete
  4. We are really grateful for this blog post. Absolutely a Great work, Thankyou!

    ReplyDelete
  5. This is one of the most significant information for me. Thanks for a good points

    ReplyDelete
  6. Such a valuable post. I like it very much, Love your skills in writing Thanks

    ReplyDelete
  7. Hey there, You’ve done an incredible job. keep it up! Beautiful story you make

    ReplyDelete
  8. I am overwhelmed by your post with such a nice topic.

    ReplyDelete
  9. Simply unadulterated brilliance from you here. I have never expected something not as much as this from you.

    ReplyDelete
  10. I am really grateful for your blog post for giving a lot of information

    ReplyDelete
  11. I am glad to see this site share valued information Nice one! Great dayyy

    ReplyDelete
  12. It is such a very amazing post. Great job you made in this post buddy, Cheers!!

    ReplyDelete
  13. I LOVE YOUR WEBSITES, NICE COLORS AND THEME AND ALSO I LIKE THE BLOG THAT YOU COMPOSED, IT IS GREAT AND FANTASTIC.
    소액결제 현금화

    ReplyDelete
  14. "Just Another Tetris Clone offers a nostalgic trip for fans of the classic game. While it doesn't reinvent the wheel, the gameplay is smooth and satisfying. The graphics are simple but effective, and the controls are responsive. Overall, it's a fun, no-frills version for Tetris enthusiasts looking for a quick fix."Thank you for sharing your expertise! Keep up the excellent work! Continue to share. Please feel free to look at my website.
    Abogado Defensor Violencia Doméstica Nueva Jersey

    ReplyDelete
  15. Personally I think overjoyed I discovered the blogs.D.

    ReplyDelete
  16. Thanks for your personal marvelous posting! D.

    ReplyDelete
  17. I quite enjoyed reading it, you happen to be a great author. D.

    ReplyDelete
  18. I will make sure to bookmark your blog and will eventually come back later in life.D.

    ReplyDelete
  19. I want to encourage yourself to continue your great work, have a nice morning!D.

    ReplyDelete
  20. I was checking constantly this blog and I'm impressed! D.

    ReplyDelete
  21. Woah! I'm really loving the template/theme of this site.

    ReplyDelete
  22. magnificent put up, very informative. I'm wondering why the opposite
    experts of this sector don't notice this.

    ReplyDelete
  23. Phoebe Purdy3:52 AM

    Okay, Tetris, huh? Flipsy sounds...unique. Coding after a WildStar binge? I feel that. I once tried to build a simple AI for tic-tac-toe and got stuck in a recursive loop of doom. My brain melted faster than an ice cream cone in July. Sharing the fun (or not) with slope unblocked is how we learn! The messy code is part of the process.

    ReplyDelete
  24. Amanda G. Burrows4:14 AM

    Hey! Cool project! Phaser.io is a great choice. I get the "Flipsy" naming issue - we've all been there! Perhaps try implementing some scoring mechanics similar to Retro bowl for added challenge? It'd boost replayability! For improvement, maybe explore pre-rendering shapes to optimize performance.

    ReplyDelete
  25. I think you made some good points. Keep working like that, great job!... MM

    ReplyDelete
  26. So wonderful to discover a unique thoughts. Many thanks to author... MM

    ReplyDelete
  27. You have opened my eyes on this topic with interesting and solid content... MM

    ReplyDelete
  28. This is an excellent post I seen, thanks that you share it with us very good... MM

    ReplyDelete
  29. It was informative. Your site is very useful. Thanks for sharing this blog!... MM

    ReplyDelete
  30. Such great & useful information here. Your posts are very informative. Thanks!... MM

    ReplyDelete
  31. You have a very good gloss. Write more high-quality articles. I support you... MM

    ReplyDelete

Feel free to comment or criticize constructively. Please keep it clean, or it will get deleted.