Happy Holidays from Gensokyo Radio


Just wanted to wish everyone a happy holiday season as the year 2012 draws to a close.


One of the things I’ve been working on as a bit of a side project is coding Tetris in JavaScript. Well, that seems pretty random doesn’t it? However, even though there are already more than enough implementations of Tetris out there, I wanted to do this as an exercise/challenge for myself, to become more familiar with how some things in JavaScript work. As some of you may know, I’ve been working in JavaScript to maintain things like the live song info you see on the website, among other things.

One thing I did before starting to work with PHP for websites was that I wrote a program in the only non-web programming language I knew at the time, C++. My goal in writing that program was to try to calculate the first million prime numbers efficiently. I came up with my own ideas on how to accomplish that, and I worked my way from a few minutes to a few seconds.

A similar idea applies with this exercise. My goal is to become more proficient in JavaScript in general, and with that, be able to write better implementations for website features. The only unfortunate thing with that is that I started this project before the holiday season started. Once it kicked in, work (at my paying job) got much heavier, and so I have much less time to spend on these kinds of things.

One year ago from the 21st (when I made the apocalypse day post), the first website version that I helped publish went live at GensokyoRadio.net. That theme was known as GSR2. The image below is a small snippet from the next site version which I hope to publish in January, GSR5. I know I’ve sort of mentioned it here and there since October, but I really hope to push through and get this site out to everyone. I also start class again in mid-January, the first time in over a year, so that should be interesting.

Thanks for listening everyone, and have a happy new year!

Happy Holidays from Gensokyo Radio
User Comments (migrated from legacy news system)

Lancer | Posted on December 27th, 2012, 06:45:07 PM
Yes tetris does seem pretty random but when you think about it it does seem like a fun way to get used to scripting. Anyway I’m glad to hear about these updates, I can hardly wait :D. Anyway happy holidays and bla bla just wanted to say I’m exited for updates :P.

(Guest) Khoury | Das Foto Finish© | Posted on December 28th, 2012, 04:47:10 AM
All good things take time, and sometimes priorities change. Even if GR needs a few months to see some updates I’m sure the community can wait; with something this good there is no point to rush. I hope that the javascript tetris will become available as an easter egg on GR. Keep on truckin’ Lunar and happy, warm holidays to all of the GR listeners!

LunarSpotlight | Posted on December 29th, 2012, 07:25:35 AM
Thanks a bunch, guys :smiley:

DuskUntilDawn | Posted on January 3rd, 2013, 05:34:56 PM
'S a good idea; I did something similar once I realized I was good enough in C++ to actually do stuff beyond simple calculations. It was really fulfilling once I got it actually working, and I’m selectively blocking the time it wasn’t working, because I still don’t know what went wrong the first two times and I’m rambling now. Anyways, I’m new to the site, and 10 minutes in, I’m already enthralled. I’m probably gonna need a few months just to find things that could be improved on, so time’s not really important. Good luck with the tetris! And happy New Year!