CLOSE

YouTuber Programs Retro Video Game 'Snake' Into a Keyboard

Introduced in the 1970s and reborn in the 1990s thanks to Nokia mobile phones, the video game Snake allows players to move pixels around a plane to "eat" intermittently moving dots. As the game progresses, the snake grows larger, which makes avoiding obstacles—including its own body—even harder. Traditionally, the game is played on a screen with a directional pad as the controller, but as the video above from Kotaku shows, one gamer recently tried a different technique: using only a keyboard as both the screen and the controller.

YouTuber Mythic Magic used the programming language C# to turn his Corsair K70 RGB gaming keyboard into a platform for Snake. The gamer takes advantage of the multicolor backlighting so that it forms each element, including the borders, the moving dot, and the growing snake. Mythic Magic has uploaded his source codes to GitHub for anyone familiar with the language to mimic this project.

The Corsair website advertises the keyboard as having "virtually unlimited customization" capabilities, and Mythic Magic's project definitely put that to the test. 

Banner image via Mythic Magic on YouTube

[h/t Kotaku]

nextArticle.image_alt|e
arrow
History
The Queen of Code: Remembering Grace Hopper
By Lynn Gilbert, CC BY-SA 4.0, Wikimedia Commons

Grace Hopper was a computing pioneer. She coined the term "computer bug" after finding a moth stuck inside Harvard's Mark II computer in 1947 (which in turn led to the term "debug," meaning solving problems in computer code). She did the foundational work that led to the COBOL programming language, used in mission-critical computing systems for decades (including today). She worked in World War II using very early computers to help end the war. When she retired from the U.S. Navy at age 79, she was the oldest active-duty commissioned officer in the service. Hopper, who was born on this day in 1906, is a hero of computing and a brilliant role model, but not many people know her story.

In this short documentary from FiveThirtyEight, directed by Gillian Jacobs, we learned about Grace Hopper from several biographers, archival photographs, and footage of her speaking in her later years. If you've never heard of Grace Hopper, or you're even vaguely interested in the history of computing or women in computing, this is a must-watch:

nextArticle.image_alt|e
Google
arrow
Animals
Watch Christmas Island’s Annual Crab Migration on Google Street View
Google
Google

Every year, the 45 million or so red crabs on the remote Australian territory of Christmas Island migrate en masse from their forest burrows down to the ocean to mate, and so the female crabs can release their eggs into the sea to hatch. The migration starts during the fall, and the number of crabs on the beach often peaks in December. This year, you don’t have to be on Christmas Island to witness the spectacular crustacean event, as New Atlas reports. You can see it on Google Street View.

Watching the sheer density of crabs scuttling across roads, boardwalks, and beaches is a rare visual treat. According to the Google blog, this year’s crabtacular finale is forecasted for December 16, and Parks Australia crab expert Alasdair Grigg will be there with the Street View Trekker to capture it. That is likely to be the day when crab populations on the beaches will be at their peak, giving you the best view of the action.

Crabs scuttle across the forest floor while a man with a Google Street View Trekker walks behind them.
Google

Google Street View is already a repository for a number of armchair travel experiences. You can digitally explore remote locations in Antarctica, recreations of ancient cities, and even the International Space Station. You can essentially see the whole world without ever logging off your computer.

Sadly, because Street View isn’t live, you won’t be able to see the migration as it happens. The image collection won’t be available until sometime in early 2018. But it’ll be worth the wait, we promise. For a sneak preview, watch Parks Australia’s video of the 2012 event here.

[h/t New Atlas]

SECTIONS

arrow
LIVE SMARTER
More from mental floss studios