Developer Journal, European Day of Languages
Today observes the European Day of Languages, bringing awareness of the deep diversity in European cultures and encourage learning new languages.
Long-time readers already know that I enjoy other languages, though I donāt often have an excuse to learn new ones. In any case, on to codeā¦and other activities.
Mystic T-Square
GitHub - jcolag/mystic-t-square
I did some cleanup work, here.
First, the game finally has a background texture, like I intended in the first place, rather than letting the CSS assume that the game still runs on my server, where it can borrow the same texture used on the rest of my website.
Second, I finally got around to writing some basic documentation beyond āA possible game.ā You probably donāt need to read it, because you have probably seen it all before in these posts. But for people who come to the game from elsewhere, they can get a quick overview.
G.L.O.B.E.
While Mystic T-Square mostly only received some conveniences, G.L.O.B.E.ās configuration system got an overhaul, to make it possible for players to try historical games.
If you play now, youāll notice that you can pick a dayāno later than the current dateāto try that game, and keep resetting it. When setting back to the current date, the game goes back to matching the current game.
In addition, because I set the time that the player set the new seed, it becomes straightforward to compare the date set to the current date, to determine whether to use the seed. Previously, I had a confusing system that checked to see if the date of the seed matched the current date, which caused its own set of problems.
Iungimoji
While not finished, I started moving the changes made to G.L.O.B.E. for configuring a date into Iungimoji.
This time, I think that I have it in a better order, however. For G.L.O.B.E., I created the user interface first. Then, I filled out the handler code and the changes to the startup code, which may have meant that some players caught an incomplete system. In this case, I have started with refactoring and can change the handlers first, then leave the user interface for when it has something to interface to.
Oh, I also added a missing variable. I donāt know why this hasnāt caused problems. Even if JavaScript can auto-declare new names, it probably wouldnāt do it with the correct scope.
Next
You can probably already guess that I need to finish updating Iungimoji. Once I have that cleared up, I want to start adding other configuration options to it and Iungimoji.
Credits: The header image is Place des Abbesse (the plaque with the je tāaime=te iubesc in 311 laguages) by Britchi Mirela, made available under the terms of the Creative Commons Attribution Share-Alike 3.0 Unported license.
By commenting, you agree to follow the blog's Code of Conduct and that your comment is released under the same license as the rest of the blog.
Tags: programming project devjournal