Sunday, November 8, 2020

Complete

 I've completed the Flappybird assignment.

The gap between the pairs is now random with this change

to the pipepair definition:

The spawn of new pipepairs is now random thanks to the

following change in the PlayState mode (line 39):



And the medal and Pause features were done previously. 

Now if I could just play this game with enough skill to illustrate

the changes...


Best I can do: the medal shows up as 0 and disappears when I eventually

score 1!! Thus, the code should read when score > 5, or whatever for the level.

Still, one can see the pause function, and that the gap varies, as does the schedule

of new pipe pairs.

Saturday, November 7, 2020

Medal Moment

 Back with the Flappy Bird assignment. i am now xhowing

a medal at score == 0. Need to simplify the game for myself

so that I can actually score🙄


                


              

Timezones

 Where I live, an election is an event with clear

boundaries. Because platform is important, more 

than personalities, no one is allowed to make 

pronouncements once voting has begun; and Canada 

crosses six timezones. There is also care given to annnouncements

about results, so that no feedback loops are created. Voting

in France is equally scrupulous in this respect.


Having these warm slippers of correctness on my feet, I can

only look in disbelief at this  American election.

Mail-in voting started in September, two months before the 

so-called Election Day. What is this?? Two-thirds of voting

occured through this and anticipatory voting. In effect, September

is when the election occured and it  just dragged on till closure

on the evening of November 3.


Then there is the postmark issue. Postmarks have long had

a legel sense; for instance, in Canada, postmark will register

whether an individual has sent in their tax return on time.

This is still true, although many now filw electronically. But 

the election seems to be working with ballots received, in some

areas till November 10. Odd!!


Finally, there is concern about valid and invalid entries. On the envelope 

level, this will affect more than one race because a voter is electing 

someone to both the Presidency and perhaps the House and/or Senate; 

and those House votes are where funding and approval happen. One

is tempted to be thankful the Electors can still change their minds!!


What all this brings home to me is how historically grounded the American

system is. Folks from different States pronouncing in the horse and buggy era.

But also forcing today those concerned about issues to be political all the

time. Maybe all that anti-Trump sentiment in media and on social platform

was just folks trying to vote in more complex times. And that's sorta concerning...


                                      *     *     *

I hesitate to say it🤨, but congratulations to President-elect Biden

and his team. That was a grueling campaign...


                                     *     *     *

Thursday, November 5, 2020

Wolfy

 Like so many others, been holding my breath

on the American election. And no, I will not 'meddle',

as instructed by Canada's Premier Trudeau. But I do have some

thoughts about the Trump presidency. In fact, not so much about

Trumpism - what ever that means - but about the changing

context of politics and particularly political discourse.


We are all, increasingly, global citizens.Heck, I spend half my days

on European media, recipe blogs from Australia, games form Israel...

Foreign relations are delicate as never before because the government of

the day is addressing both the people and other nations at the same time.

The US quitting the Paris agreement was a very powerful move. China has since

made a commitment in, pursuant to its policy of muscle-ing out the US.

Well played!


Meanwhile, back at home however, many are obviously mortified that the US

would do such a thing. "The whole world is watching",  was a prominent chant

of anti-Vietnam protest, and it referred to American actions but also the reflection

this brought on the US as a nation. Greenpeace, after all,  is a play using media.

American prestige is something american media fight hard to protect.


A lot can be said about this twitter presidency, and I am not on that particuar feed,

But I have appreciated the openess with which the Trump era operated.

And just a tiny little meddle: why was Barack Obama allowed to campaign

for the Biden camp, like democracy itself was under siege. Crying wolf, if you

ask me!!


Tuesday, November 3, 2020

Monday, November 2, 2020

How they voted!

 From Libération, clear visuals on  American voting

patterns.

https://www.liberation.fr/apps/2020/10/elections-us-2020/

Sunday, November 1, 2020

BPractice

  It was along and lonely road, but I have mamaged

to get a pause function on Flappy Bird. The code changes 

are below, affecting two functions: keysPressed() and update().

What made the difference: making the paused function global, so that

the update function knows what's what.



The game now ends normally with the escape key. If I press

pause, then everything stops. The game picks up again where

I left off when I press enter. 🎈Feels like a win!


                                    


One of the wins in this adventure, for me, was understanding that one

often goes with local files where possible, to save memory in a game.

Because some games can get pretty elabotate. The procedure I am

copying form is actually a best practice illustrating this...